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 f69054d commit 192a8c4Copy full SHA for 192a8c4
1 file changed
.github/workflows/wiki.yml
@@ -52,7 +52,9 @@ jobs:
52
- name: Check if there are changes
53
id: changes
54
run: |
55
- if [ -n "$(git status -s)" ]; then
+ git add .
56
+
57
+ if git diff --cached --quiet; then
58
echo "changed=true" >> $GITHUB_OUTPUT
59
else
60
echo "changed=false" >> $GITHUB_OUTPUT
@@ -61,7 +63,6 @@ jobs:
61
63
- name: Add and commit files
62
64
if: steps.changes.outputs.changed == 'true'
65
- git add .
66
git config --global user.email "github-actions[bot]@users.noreply.github.com"
67
git config --global user.name "github-actions[bot]"
68
git commit -m "Update submodules at $(date "+DATE: %Y-%m-%d TIME: %H:%M:%S")"
0 commit comments