Skip to content

Commit f5b6f50

Browse files
committed
Add additional trigger events to "Report Size Deltas" CI workflow
The following additional events now trigger the workflow: - Pushed commit that modifys the action's workflow. This is useful for verifying that the change was correct. - Trigger via the GitHub web interface. - Trigger via the GitHub API.
1 parent f08ab29 commit f5b6f50

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/report-size-deltas.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
name: Report Size Deltas
22

3+
# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows
34
on:
5+
push:
6+
paths:
7+
- ".github/workflows/report-size-deltas.yml"
48
schedule:
5-
# schedule action for every five minutes (ends up being a little longer in practice)
9+
# Run at the minimum interval allowed by GitHub Actions.
10+
# Note: GitHub Actions periodically has outages which result in workflow failures.
11+
# In this event, the workflows will start passing again once the service recovers.
612
- cron: "*/5 * * * *"
13+
workflow_dispatch:
14+
repository_dispatch:
715

816
jobs:
917
report:

0 commit comments

Comments
 (0)