We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbbbe93 commit 88bb89eCopy full SHA for 88bb89e
.github/workflows/ideas_list.yml
@@ -92,11 +92,14 @@ jobs:
92
# Push changes:
93
- name: 'Push changes'
94
run: |
95
- if [[ -z "$(git status --porcelain)" ]]; then
+ # Stage all changes:
96
+ git add -A
97
+
98
+ # Check whether anything actually changed...
99
+ if git diff --cached --quiet; then
100
# If no files were changed, nothing more to do:
101
exit 0
102
fi
- # Otherwise, add changed files to the staging area and commit:
- git add -A && git commit -m "feat: update ideas list"
- git push
103
+ # Otherwise, commit and push the changes:
104
+ git commit -m "feat: update ideas list" && git push
105
timeout-minutes: 15
0 commit comments