Skip to content

Commit

Permalink
updating workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
asucrews authored Jul 5, 2024
1 parent d7d960e commit 763ea66
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/generate_automation_readme.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ jobs:
- name: Check for changes
id: changes
run: |
git diff --quiet
echo "changes=$?" >> $GITHUB_ENV
git diff --quiet || echo "changes=1" >> $GITHUB_ENV
echo "changes=${{ env.changes || 0 }}" >> $GITHUB_ENV
- name: Commit and push changes
if: env.changes != 0
if: env.changes == '1'
env:
GIT_AUTHOR_EMAIL: [email protected]
GIT_AUTHOR_NAME: GitHub Action
Expand Down

0 comments on commit 763ea66

Please sign in to comment.