Skip to content

Commit

Permalink
build.yml: Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
abraxa committed Aug 22, 2024
1 parent 766eb97 commit 5df4311
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,9 @@ jobs:
update-pending-status-success:
name: Update pending status as 'success'
needs: call-build-workflow
# Note: always() is a workaround, see https://github.com/actions/runner/issues/491#issuecomment-850884422
if: |
always() && # Workaround, see https://github.com/actions/runner/issues/491#issuecomment-850884422
always() &&
(github.event_name == 'pull_request') &&
(!contains(needs.*.result, 'cancelled')) &&
(!contains(needs.*.result, 'failure'))
Expand Down Expand Up @@ -89,8 +90,9 @@ jobs:
update-pending-status-failure:
name: Update pending status as 'failure'
needs: call-build-workflow
# Note: always() is a workaround, see https://github.com/actions/runner/issues/491#issuecomment-850884422
if: |
always() && # Workaround, see https://github.com/actions/runner/issues/491#issuecomment-850884422
always() &&
(github.event_name == 'pull_request') &&
(contains(needs.*.result, 'cancelled') || contains(needs.*.result, 'failure'))
runs-on: ubuntu-latest
Expand Down

0 comments on commit 5df4311

Please sign in to comment.