From 014c7df338b3906372ef0fac1eb076c10d956389 Mon Sep 17 00:00:00 2001 From: Darshaka Pathirana Date: Fri, 7 Jun 2024 15:58:52 +0200 Subject: [PATCH] GitHub Actions: Add workflow_dispatch trigger To manually run a workflow, the workflow must be configured to run on the workflow_dispatch event. We want that all our GitHub Actions can be triggered manually. See: * https://docs.github.com/en/actions/using-workflows/manually-running-a-workflowk * https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_dispatch --- .github/workflows/pr-review.yml | 1 + .github/workflows/test-build.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/pr-review.yml b/.github/workflows/pr-review.yml index 686de9dd..351b9226 100644 --- a/.github/workflows/pr-review.yml +++ b/.github/workflows/pr-review.yml @@ -3,6 +3,7 @@ name: pr-review on: + workflow_dispatch: pull_request: jobs: diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index e22fec46..52507247 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -1,5 +1,6 @@ name: test-build on: + workflow_dispatch: pull_request: push: schedule: