Skip to content

Commit

Permalink
test workflow should create a PR updating README on any trigger as lo…
Browse files Browse the repository at this point in the history
…ng as it's running in report mode
  • Loading branch information
wpbonelli committed Mar 8, 2024
1 parent c5d4a33 commit d5a47cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,15 +186,15 @@ jobs:
fi
- name: Update README
if: ${{ steps.diff.outputs.diff == 'true' && github.event_name == 'push' }}
if: ${{ steps.diff.outputs.diff == 'true' }}
run: python .github/compat/update_compat_table.py ".github/compat/compat.md" "README.md"

- name: Print README diff
if: ${{ steps.diff.outputs.diff == 'true' && github.event_name == 'push' }}
if: ${{ steps.diff.outputs.diff == 'true' }}
run: git diff README.md

- name: Create pull request
if: ${{ steps.diff.outputs.diff == 'true' && github.event_name == 'push' }}
if: ${{ steps.diff.outputs.diff == 'true' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
Expand Down

0 comments on commit d5a47cc

Please sign in to comment.