Skip to content

Commit ba4452a

Browse files
authored
(build) Be explicit about branches to run on
To prevent the workflow from running when a PR is created.
1 parent 195bed1 commit ba4452a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/label-sync.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
# Run at the end of the day (most likely UTC)
66
- cron: "0 0 * * *"
77
push:
8+
branches:
9+
- main
10+
- master
11+
- develop
812
paths:
913
- '.github/workflows/label-sync.yml'
1014
- '.github/labels.yml'
@@ -29,3 +33,4 @@ jobs:
2933
delete-other-labels: true # After initial run, and verification change this to true
3034
dry-run: false
3135
token: ${{ secrets.SYNC_TOKEN }} # Used when updating the labels on the repository.
36+

0 commit comments

Comments
 (0)