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 9ce55f8 commit b6ae078Copy full SHA for b6ae078
.github/workflows/on_merge.yml
@@ -19,16 +19,17 @@ jobs:
19
run: yarn authors
20
21
- name: Check if AUTHORS.md has changed
22
- id: check_changes
23
run: |
24
if git status --porcelain | grep 'AUTHORS.md'; then
25
- echo "changed=true" >> $GITHUB_ENV
+ echo "CHANGED=true" >> $GITHUB_ENV
26
else
27
- echo "changed=false" >> $GITHUB_ENV
+ echo "CHANGED=false" >> $GITHUB_ENV
28
fi
+
29
+ echo "CHANGED is $CHANGED"
30
31
- name: Commit changes
- if: steps.check_changes.outputs.changed == 'true'
32
+ if: ${{ env.CHANGED == 'true' }}
33
34
git config --local user.email "github-actions[bot]@users.noreply.github.com"
35
git config --local user.name "github-actions[bot]"
0 commit comments