Skip to content

Commit

Permalink
Improve GitHub step conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
alexhung committed Aug 5, 2024
1 parent 92fea29 commit 45eebb4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/acceptance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,9 @@ jobs:
update-changelog:
runs-on: ubuntu-latest
needs: acceptance-tests-matrix
if: ${{ github.event_name == 'pull_request' }} && ${{ needs.acceptance-tests-matrix.result == 'success' }}
if: |
always() &&
(github.event_name == 'pull_request' && needs.acceptance-tests-matrix.result == 'success')
permissions:
contents: write
steps:
Expand Down

0 comments on commit 45eebb4

Please sign in to comment.