Skip to content

Commit feb1ecb

Browse files
committed
chore: quiet
1 parent a7f737a commit feb1ecb

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/comment-diffs.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ jobs:
170170
# Add all files and commit
171171
git add -A || true
172172
173-
if git commit -m "Automatic commit"; then
173+
if git commit -qm "Automatic commit"; then
174174
echo "Commit successful"
175175
else
176176
echo "No changes"
@@ -186,16 +186,13 @@ jobs:
186186
# Add all files and commit
187187
git add -A || true
188188
189-
if git commit -m "Automatic commit"; then
190-
echo "Commit successful"
189+
if git commit -qm "Automatic commit"; then
190+
echo "Commit successful"
191191
else
192-
echo "No changes"
193-
return
192+
echo "No changes"
193+
return
194194
fi
195195
196-
# echo diff
197-
echo $(git diff HEAD~)
198-
199196
# Check if there is a diff
200197
if git diff --quiet HEAD~; then
201198
echo "No diff"
@@ -213,6 +210,8 @@ jobs:
213210
# echo "[$library_type/$language](https://github.com/${{github.repository}}/compare/$old_version_commit_hash..$new_version_commit_hash)" >> "$output_file"
214211
215212
# Add changes to output file
213+
echo $(git diff HEAD~)
214+
216215
git diff HEAD~ >> $output_file
217216
echo "$output_file"
218217
fi

0 commit comments

Comments
 (0)