about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-06-30 10:27:24 +0000
committerbors <bors@rust-lang.org>2022-06-30 10:27:24 +0000
commit6206d2a439333b584fdb0c79a78e4dc07eb37c39 (patch)
tree5a08ae8634778e83f52ec253f99a1e790a39a669
parent0cb0f7636851f9fcc57085cf80197a2ef6db098f (diff)
parenta131ceab664702ee264f5144d597403e2e653cb0 (diff)
downloadrust-6206d2a439333b584fdb0c79a78e4dc07eb37c39.tar.gz
rust-6206d2a439333b584fdb0c79a78e4dc07eb37c39.zip
Auto merge of #9070 - flip1995:ci-fix, r=xFrednet
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
-rw-r--r--.github/workflows/clippy_bors.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/clippy_bors.yml b/.github/workflows/clippy_bors.yml
index b8ea424ef34..97453303cd6 100644
--- a/.github/workflows/clippy_bors.yml
+++ b/.github/workflows/clippy_bors.yml
@@ -144,7 +144,7 @@ jobs:
         OS: ${{ runner.os }}
 
   metadata_collection:
-    needs: base
+    needs: changelog
     runs-on: ubuntu-latest
 
     steps:
@@ -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
@@ -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