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 5711856 commit c5733f8Copy full SHA for c5733f8
.github/workflows/generate-docs.yml
@@ -46,7 +46,7 @@ jobs:
46
47
- name: Check for modified files
48
id: git-check
49
- run: echo ::set-output name=modified::$(if git diff-index --ignore-submodules --quiet HEAD --; then echo "false"; else echo "true"; fi)
+ run: echo "modified=$(if [[ -z $(git status --porcelain --untracked-files=no --ignore-submodules) ]]; then echo "false"; else echo "true"; fi)" >> "$GITHUB_OUTPUT"
50
51
- name: Commit changes, if any
52
if: steps.git-check.outputs.modified == 'true'
0 commit comments