Skip to content

Commit

Permalink
Auto merge of rust-lang#9070 - flip1995:ci-fix, r=xFrednet
Browse files Browse the repository at this point in the history
Make sure bors success depends on metadata_collection

r? `@xFrednet`

Currently bors runs the `metadata_collection` but merges before the run is finished, because the bors success dummy step didn't depend on it. This also makes sure that the `metadata_collection` test is run at the same time as the other base runs to not produce overhead.

changelog: none
  • Loading branch information
bors committed Jun 30, 2022
2 parents 0cb0f76 + a131cea commit 6206d2a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/clippy_bors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ jobs:
OS: ${{ runner.os }}

metadata_collection:
needs: base
needs: changelog
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -264,7 +264,7 @@ jobs:
name: bors test finished
if: github.event.pusher.name == 'bors' && success()
runs-on: ubuntu-latest
needs: [changelog, base, integration_build, integration]
needs: [changelog, base, metadata_collection, integration_build, integration]

steps:
- name: Mark the job as successful
Expand All @@ -274,7 +274,7 @@ jobs:
name: bors test finished
if: github.event.pusher.name == 'bors' && (failure() || cancelled())
runs-on: ubuntu-latest
needs: [changelog, base, integration_build, integration]
needs: [changelog, base, metadata_collection, integration_build, integration]

steps:
- name: Mark the job as a failure
Expand Down

0 comments on commit 6206d2a

Please sign in to comment.