Skip to content

Commit d2c99e6

Browse files
authored
Always run commit step in update PR workflow (#3208)
`update-chrome` is a requirement for `commit-result`, but it turns out that if `update-chrome` is skipped, so is `commit-result`. Adding the if condition makes the job always run (assuming it didn't fail or didn't get cancelled).
1 parent ba54f37 commit d2c99e6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/update-pull-request.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,9 @@ jobs:
223223
commit-result:
224224
name: Commit result
225225
runs-on: ubuntu-latest
226+
if: ${{ !failure() && !cancelled() && needs.is-fork-pull-request.outputs.IS_FORK == 'false' }}
226227
needs:
228+
- is-fork-pull-request
227229
- prepare
228230
- dedupe-yarn-lock
229231
- regenerate-lavamoat-policies

0 commit comments

Comments
 (0)