1
0
mirror of synced 2026-01-03 06:04:16 -05:00

Split 'Events that trigger workflows' into two articles (#24392)

This commit is contained in:
Sarah Edwards
2022-01-25 14:25:13 -08:00
committed by GitHub
parent acdf74047d
commit fe1dfd917f
11 changed files with 319 additions and 298 deletions

View File

@@ -0,0 +1,7 @@
You can specify a single event or multiple events. For example, a workflow with the following `on` value will run when a push is made to any branch in the repository or when someone forks the repository:
```yaml
on: [push, fork]
```
If you specify multiple events, only one of those events needs to occur to trigger your workflow. If multiple triggering events for your workflow occur at the same time, multiple workflow runs will be triggered.