From c50df751e3c00eeca3c944a3af7f249e682cdfce Mon Sep 17 00:00:00 2001 From: jrfnl Date: Sat, 31 Jul 2021 12:03:30 +0200 Subject: [PATCH] GH Actions: allow for manually triggering a workflow Triggering a workflow for a branch manually is not supported by default in GH Actions, but has to be explicitly allowed. This is useful if, for instance, an external action script or composer dependency has broken. Once a fix is available, failing builds for open PRs can be retriggered manually instead of having to be re-pushed to retrigger the workflow. Ref: https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/ --- .github/workflows/push.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 6a8cba3..bf1a286 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -3,6 +3,8 @@ on: branches: - 2.x pull_request: + # Allow manually triggering the workflow. + workflow_dispatch: name: Qa workflow jobs: setup: