]> 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>
Sun, 7 Jun 2026 17:00:55 +0000 (18:00 +0100)
Only run on pushes to main and stable branches.

Signed-off-by: Stephen Finucane <stephen@that.guru>
(cherry picked from commit 4c7d6d83bd295ba74c23316bfc2271092d946479)

.github/workflows/ci.yaml

index 69989a8f1b11731b95415fb5a4d3ab5f10b7c8b2..fb13c86c8f82bafe80a34fde78feaae1ab443417 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