]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
CI: Avoid duplication of jobs
authorStephen Finucane <stephen@that.guru>
Sat, 6 Jun 2026 11:07:35 +0000 (12:07 +0100)
committerStephen Finucane <stephenfinucane@hotmail.com>
Sat, 6 Jun 2026 11:58:58 +0000 (12:58 +0100)
Only run on pushes to main and stable branches.

Signed-off-by: Stephen Finucane <stephen@that.guru>
.github/workflows/ci.yaml

index e7c43e711723a561f78084f4d8c2da6bd76b954d..da27ae2337e8e3a39994d6e88960f48bb6e869ae 100644 (file)
@@ -1,8 +1,11 @@
 ---
 name: CI
 on:
-  - push
-  - pull_request
+  push:
+    branches:
+      - main
+      - stable/*
+  pull_request:
 concurrency:
   group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
   cancel-in-progress: true