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 2f74112 commit 0a646e3Copy full SHA for 0a646e3
1 file changed
.github/workflows/wiki.yml
@@ -75,8 +75,17 @@ jobs:
75
pull: "--rebase --autostash"
76
push: true
77
78
+ - name: Check submodule pointer changes
79
+ id: submodule_status
80
+ run: |
81
+ if git diff --quiet -- .github/wiki; then
82
+ echo "changed=false" >> "$GITHUB_OUTPUT"
83
+ else
84
+ echo "changed=true" >> "$GITHUB_OUTPUT"
85
+ fi
86
+
87
- name: Commit parent repo submodule pointer
- if: steps.wiki_commit.outputs.committed == 'true'
88
+ if: steps.submodule_status.outputs.changed == 'true'
89
id: parent_commit
90
uses: EndBug/add-and-commit@v10
91
with:
0 commit comments