Merge pull request #2196 from wpaulino/ci-ignore-master-cancel-prev
[rust-lightning] / .github / workflows / build.yml
index a08549c0c5c73357a3c9ec07fa10dcf9eab1d100..8e02ec9da75c803caa0dfd9b797ea6b892a13298 100644 (file)
@@ -1,6 +1,16 @@
 name: Continuous Integration Checks
 
-on: [push, pull_request]
+on:
+  push:
+    branches-ignore:
+      - master
+  pull_request:
+    branches-ignore:
+      - master
+
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
 
 jobs:
   build: