From 6ea05203887dfe884dca9e8e19df36b495644185 Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Sat, 15 Jan 2022 16:29:11 -0600 Subject: [PATCH] GitHub: Special builds for more branches Instead of triggering scan-build builds on pushes to the `scan-build` branch, or valgrind builds on pushes to the `valgrind` branch, let's have pushes to branches matching `scan-build*` and `valgrind*` branch name globs trigger the corresponding builds. Do not forget to delete those branches when you're done! --- .github/workflows/scanbuild.yml | 2 +- .github/workflows/valgrind.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/scanbuild.yml b/.github/workflows/scanbuild.yml index 3b230c552..de487d0d8 100644 --- a/.github/workflows/scanbuild.yml +++ b/.github/workflows/scanbuild.yml @@ -4,7 +4,7 @@ on: push: # Pushes to this branch get the scan-build treatment branches: - - 'scan-build' + - 'scan-build*' pull_request: # Changing this build gets it to run diff --git a/.github/workflows/valgrind.yml b/.github/workflows/valgrind.yml index 76c881368..05951d191 100644 --- a/.github/workflows/valgrind.yml +++ b/.github/workflows/valgrind.yml @@ -4,7 +4,7 @@ on: push: # Pushes to the valgrind branch get the valgrind treatment branches: - - 'valgrind' + - 'valgrind*' pull_request: # Changing this build also gets it to run