Skip to content

Commit

Permalink
GitHub Actions: Add workflow_dispatch trigger
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jkirk committed Jun 7, 2024
1 parent fa44c61 commit 014c7df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pr-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

name: pr-review
on:
workflow_dispatch:
pull_request:
jobs:

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: test-build
on:
workflow_dispatch:
pull_request:
push:
schedule:
Expand Down

0 comments on commit 014c7df

Please sign in to comment.