瀏覽代碼

ci: do not run tests on master push

bors already tests the *result* of merging PRs into master, and then
pushes the *exact same commit* to master on success, so it's guaranteed
to pass CI. No point in running everything again.

This'll make other CI runs faster, since we have so many jobs that we're
always running against the GHA limit of 10 concurrent jobs.
Dario Nieuwenhuis 3 年之前
父節點
當前提交
c1fe08a80b
共有 4 個文件被更改,包括 4 次插入4 次删除
  1. 1 1
      .github/workflows/clippy.yml
  2. 1 1
      .github/workflows/fuzz.yml
  3. 1 1
      .github/workflows/rustfmt.yaml
  4. 1 1
      .github/workflows/test.yml

+ 1 - 1
.github/workflows/clippy.yml

@@ -1,6 +1,6 @@
 on:
   push:
-    branches: [ staging, trying, master ]
+    branches: [ staging, trying ]
   pull_request_target:
 
 name: Clippy check

+ 1 - 1
.github/workflows/fuzz.yml

@@ -1,6 +1,6 @@
 on:
   push:
-    branches: [ staging, trying, master ]
+    branches: [ staging, trying ]
   pull_request:
 
 name: Fuzz

+ 1 - 1
.github/workflows/rustfmt.yaml

@@ -1,6 +1,6 @@
 on:
   push:
-    branches: [ staging, trying, master ]
+    branches: [ staging, trying ]
   pull_request:
 
 name: Rustfmt check

+ 1 - 1
.github/workflows/test.yml

@@ -1,6 +1,6 @@
 on:
   push:
-    branches: [ staging, trying, master ]
+    branches: [ staging, trying ]
   pull_request:
 
 name: Test