We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37b33f0 commit cf682b3Copy full SHA for cf682b3
.github/workflows/files-changed.yml
@@ -12,6 +12,7 @@ on:
12
- master
13
paths:
14
- "specs/*"
15
+ - ".github/workflows/*"
16
workflow_run:
17
workflows: [Update spec files]
18
types:
@@ -69,13 +70,11 @@ jobs:
69
70
run: |
71
git config --local user.name "github-actions[bot]"
72
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
- git diff-index HEAD
73
- git status
74
- if git diff-index --quiet HEAD; then
75
- echo "No changes to commit"
+ if git diff-index --quiet HEAD; then
+ echo "**No changes to README.md with python script to commit**"
76
else
77
git add README.md
78
- git commit -m "Update README.md"
+ git commit -m "Update README.md with the list of spec files"
79
git push
80
fi
81
env:
0 commit comments