summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/source/.github/workflows/main.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/Build/source/.github/workflows/main.yml b/Build/source/.github/workflows/main.yml
index ae8b2a0d9e3..88cf522d8ac 100644
--- a/Build/source/.github/workflows/main.yml
+++ b/Build/source/.github/workflows/main.yml
@@ -28,8 +28,15 @@
# * it would be nice if we could adjust the docker action usage
# to override the dockerfile but this seems not to be possible at the moment
-on: [push]
+# only build on pushed to trunk
+on:
+ push:
+ branches:
+ - trunk
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: true
jobs:
build_job: