From de555b2dfb059f771434d8ce2560c2bcc256034d Mon Sep 17 00:00:00 2001 From: Eliah Kagan Date: Sat, 10 Aug 2024 17:39:56 -0400 Subject: [PATCH] Allow the CI fuzz workflow to be manually triggered too This adds workflow_dispatch as an event trigger for `cifuzz.yml`. Since that should be sufficient to cover the rare case where one wishes to run it outside of a pull request against the `main` branch, this narrows the existing pull_request trigger to occur only on `main`, as is already the case in the other workflows that are intended to run more often than this one. --- .github/workflows/cifuzz.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cifuzz.yml b/.github/workflows/cifuzz.yml index 350029cec1f..8d47de8f003 100644 --- a/.github/workflows/cifuzz.yml +++ b/.github/workflows/cifuzz.yml @@ -1,5 +1,8 @@ name: CIFuzz -on: [pull_request] +on: + pull_request: + branches: [ main ] + workflow_dispatch: jobs: Fuzzing: runs-on: ubuntu-latest