Skip to content

Commit

Permalink
bug: always run status action (#1111)
Browse files Browse the repository at this point in the history
/kind chore
/area ci

Seems that when previous job fails, status job gets skipped, resulting in letting PR merge. Try to always run the job regardless the result of previous dependant jobs.
  • Loading branch information
Ressetkk authored Nov 8, 2024
1 parent a89554b commit b7a6f7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pull-request-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ jobs:
pull-request-status:
needs: [ build-image, unit-tests, integration-tests, integration-tests-gardener, ui-tests, verify-pins ]
runs-on: ubuntu-latest
if: always()
steps:
- if: ${{ !(contains(needs.*.result, 'failure')) }}
run: exit 0
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ jobs:
pull-request-status:
needs: [ build-image, unit-tests, integration-tests, ui-tests, verify-pins ]
runs-on: ubuntu-latest
if: always()
steps:
- if: ${{ !(contains(needs.*.result, 'failure')) }}
run: exit 0
Expand Down

0 comments on commit b7a6f7b

Please sign in to comment.