texlive[69474] Build/source/.github/workflows/main.yml: gh actions:

commits+preining at tug.org commits+preining at tug.org
Thu Jan 18 00:55:47 CET 2024


Revision: 69474
          https://tug.org/svn/texlive?view=revision&revision=69474
Author:   preining
Date:     2024-01-18 00:55:47 +0100 (Thu, 18 Jan 2024)
Log Message:
-----------
gh actions: only build on trunk, cancel in progress

Modified Paths:
--------------
    trunk/Build/source/.github/workflows/main.yml

Modified: trunk/Build/source/.github/workflows/main.yml
===================================================================
--- trunk/Build/source/.github/workflows/main.yml	2024-01-17 22:59:12 UTC (rev 69473)
+++ trunk/Build/source/.github/workflows/main.yml	2024-01-17 23:55:47 UTC (rev 69474)
@@ -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:



More information about the tex-live-commits mailing list.