Skip to content

Commit cf682b3

Browse files
committed
update files-changed.yml
1 parent 37b33f0 commit cf682b3

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/files-changed.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
- master
1313
paths:
1414
- "specs/*"
15+
- ".github/workflows/*"
1516
workflow_run:
1617
workflows: [Update spec files]
1718
types:
@@ -69,13 +70,11 @@ jobs:
6970
run: |
7071
git config --local user.name "github-actions[bot]"
7172
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
72-
git diff-index HEAD
73-
git status
74-
if git diff-index --quiet HEAD; then
75-
echo "No changes to commit"
73+
if git diff-index --quiet HEAD; then
74+
echo "**No changes to README.md with python script to commit**"
7675
else
7776
git add README.md
78-
git commit -m "Update README.md"
77+
git commit -m "Update README.md with the list of spec files"
7978
git push
8079
fi
8180
env:

0 commit comments

Comments
 (0)