Skip to content

Commit 13163ee

Browse files
authored
Update 2-github-actions-workflows-ci.md
1 parent 65c3be1 commit 13163ee

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

learn-pr/github/github-actions-ci/includes/2-github-actions-workflows-ci.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -158,15 +158,17 @@ You can identify the trigger event in several ways :
158158
- You can also find the commit SHA, actor, and timestamp to trace what caused the trigger.
159159

160160
### Inferring the trigger from repository effects
161+
161162
Sometimes you may not have direct access to the workflow run but want to infer what triggered it based on repository activity. Here's how:
163+
162164
| Observed Behavior | Trigger Event |
163-
|---------------------------------------------------------|------------------------|
164-
| A new commit pushed to `main` and workflow ran | `push` event |
165-
| A new pull request opened or updated | `pull_request` event |
166-
| A contributor manually ran a workflow | `workflow_dispatch` |
167-
| Workflow runs every night at a specific time | `schedule` (cron) |
168-
| Workflow ran after an external service call | `repository_dispatch` |
169-
| Workflow ran when an issue was labeled or commented on | `issues.*` event |
165+
|---------------------------------------------------------|--------------------------|
166+
| A new commit pushed to `main` and workflow ran | `push` event |
167+
| A new pull request opened or updated | `pull_request` event |
168+
| A contributor manually ran a workflow | `workflow_dispatch` |
169+
| Workflow runs every night at a specific time | `schedule` (cron) |
170+
| Workflow ran after an external service call | `repository_dispatch` |
171+
| Workflow ran when an issue was labeled or commented on | `issues.*` event |
170172

171173
By reviewing timestamps, pull request activity, or commit history, you can often pinpoint what action caused the workflow to run.
172174
### Summary

0 commit comments

Comments
 (0)