Skip to content

Commit 8ad9cd7

Browse files
committed
Limit the events that will trigger the CI workflow.
This should ensure that we waste fewer runs and less time.
1 parent 00f98b4 commit 8ad9cd7

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
name: CI Build & Test
2-
# Triggers the workflow on push or pull request events
3-
on: [push, pull_request]
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
types: [assigned, opened, synchronize, reopened]
9+
workflow_dispatch:
10+
411
permissions:
512
contents: read
613

0 commit comments

Comments
 (0)