]> sigrok.org Git - pulseview.git/commitdiff
build.yml: Synchronize with github-cli's build.yml
authorSoeren Apel <redacted>
Wed, 28 Aug 2024 20:47:16 +0000 (22:47 +0200)
committerSoeren Apel <redacted>
Wed, 28 Aug 2024 20:47:16 +0000 (22:47 +0200)
.github/workflows/build.yml

index a94a61b5f5a0e4558de5ece15db1d49bf6cfbe63..210bba36c6c2179dfb015992ea56a5cd472aa72a 100644 (file)
@@ -1,9 +1,17 @@
-name: PulseView Artifact Builder Workflow
+name: Build PulseView artifacts
 
 on:
-  push:
-  workflow_dispatch:
+  push:                # When the repo itself has a new commit on the master branch
+    branches:
+      - master
+    tags:              # When a new tag was created
+  workflow_dispatch:   # When the workflow was started manually from github
+  pull_request:
+    types:
+      - labeled        # When a pull request received a new label (e.g. "provide_binaries")
+      - synchronize    # When a pull request's branch was updated with a new commit
 
 jobs:
   call-build-workflow:
+    name: Sigrok artifact builder
     uses: sigrokproject/sigrok-build/.github/workflows/build.yml@master