summary refs log tree commit diff stats
path: root/.github/workflows
diff options
context:
space:
mode:
authorPatrick Griffis <tingping@tingping.se>2023-11-03 14:13:36 -0500
committerPatrick <tingping@tingping.se>2023-11-03 14:23:55 -0500
commit44d14a436bf33c76288ca22bd9a787aca8120dd0 (patch)
tree68d4a6ac291f45ee0ec110d7081d01f67b508d43 /.github/workflows
parenta1f154cd5ee63ec6b9ac154b8dc6d5a5d97c2c28 (diff)
CI: Reduce duplicate builds
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/flatpak-build.yml9
-rw-r--r--.github/workflows/msys-build.yml8
-rw-r--r--.github/workflows/ubuntu-build.yml9
-rw-r--r--.github/workflows/windows-build.yml8
4 files changed, 30 insertions, 4 deletions
diff --git a/.github/workflows/flatpak-build.yml b/.github/workflows/flatpak-build.yml
index 66cd890b..2d4d62ba 100644
--- a/.github/workflows/flatpak-build.yml
+++ b/.github/workflows/flatpak-build.yml
@@ -1,5 +1,12 @@
 name: Flatpak Build
-on: [push, pull_request]
+on:
+  push:
+    branches:
+      - master
+  pull_request:
+    branches:
+      - master
+
 jobs:
   flatpak_build:
     runs-on: ubuntu-latest
diff --git a/.github/workflows/msys-build.yml b/.github/workflows/msys-build.yml
index 580c6aef..08c029b1 100644
--- a/.github/workflows/msys-build.yml
+++ b/.github/workflows/msys-build.yml
@@ -1,5 +1,11 @@
 name: MSYS2 Build
-on: [push, pull_request]
+on:
+  push:
+    branches:
+      - master
+  pull_request:
+    branches:
+      - master
 
 jobs:
   msys2_build:
diff --git a/.github/workflows/ubuntu-build.yml b/.github/workflows/ubuntu-build.yml
index 0e8deb34..cb6b5faa 100644
--- a/.github/workflows/ubuntu-build.yml
+++ b/.github/workflows/ubuntu-build.yml
@@ -1,5 +1,12 @@
 name: Ubuntu Build
-on: [push, pull_request]
+on:
+  push:
+    branches:
+      - master
+  pull_request:
+    branches:
+      - master
+
 jobs:
   ubuntu_build:
     runs-on: ubuntu-20.04
diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows-build.yml
index 18aca7ca..3ba01e8b 100644
--- a/.github/workflows/windows-build.yml
+++ b/.github/workflows/windows-build.yml
@@ -1,5 +1,11 @@
 name: Windows Build
-on: [push, pull_request]
+on:
+  push:
+    branches:
+      - master
+  pull_request:
+    branches:
+      - master
 
 jobs:
   windows_build: