Skip to content

Commit a8f1259

Browse files
committed
Add additional trigger events to test workflow
The `workflow_dispatch` event trigger allows the workflow to be run manually via the GitHub web interface. This can be useful to trigger the workflow run in cases where the standard triggers won't, such as testing how external changes (e.g., actions used in the workflow) affected it. The `repository_dispatch` event serves a similar purpose, except triggered via the GitHub API.
1 parent a448082 commit a8f1259

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/test-typescript-task.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ on:
2727
- "**.jsx"
2828
- "**.ts"
2929
- "**.tsx"
30+
workflow_dispatch:
31+
repository_dispatch:
3032

3133
jobs:
3234
test:

0 commit comments

Comments
 (0)