]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Ignore workflow runs on master branch
authorWilmer Paulino <wilmer@wilmerpaulino.com>
Mon, 17 Apr 2023 17:25:30 +0000 (10:25 -0700)
committerWilmer Paulino <wilmer@wilmerpaulino.com>
Mon, 17 Apr 2023 18:30:30 +0000 (11:30 -0700)
This master branch is just an alias to the main branch for legacy
reasons, so there's no need to run workflows on both branches.

.github/workflows/build.yml

index a08549c0c5c73357a3c9ec07fa10dcf9eab1d100..b00bf47fe66100fa8ad9ffbd2a981ff419528eb7 100644 (file)
@@ -1,6 +1,12 @@
 name: Continuous Integration Checks
 
-on: [push, pull_request]
+on:
+  push:
+    branches-ignore:
+      - master
+  pull_request:
+    branches-ignore:
+      - master
 
 jobs:
   build: