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 35027e7 commit ae9c83dCopy full SHA for ae9c83d
.github/workflows/format-cs-files.yml
@@ -47,13 +47,12 @@ jobs:
47
run: |
48
set +e
49
git diff --quiet --exit-code --cached
50
- echo has-changes=$(1 == $?) >> $GITHUB_OUTPUT
+ echo has-changes="$?" >> $GITHUB_OUTPUT
51
set -e
52
working-directory: ${{ github.workspace }}
53
- name: Push to ${{ github.ref }}
54
- if: ${{ steps.git.outputs.has-changes }}
+ if: ${{ fromJSON(steps.git.outputs.has-changes) == '1' }}
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