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 eb230b0 commit 35027e7Copy full SHA for 35027e7
.github/workflows/format-cs-files.yml
@@ -47,12 +47,13 @@ jobs:
47
run: |
48
set +e
49
git diff --quiet --exit-code --cached
50
- echo has-changes="$?" >> $GITHUB_OUTPUT
+ echo has-changes=$(1 == $?) >> $GITHUB_OUTPUT
51
set -e
52
working-directory: ${{ github.workspace }}
53
- name: Push to ${{ github.ref }}
54
- if: ${{ fromJSON(steps.git.outputs.has-changes) }}
+ if: ${{ steps.git.outputs.has-changes }}
55
56
+ echo ${{ steps.git.outputs.has-changes }}
57
git add .
58
git config user.name "$(git log -n 1 --pretty=format:%an)"
59
git config user.email "$(git log -n 1 --pretty=format:%ae)"
0 commit comments