Skip to content

Commit 1e2076e

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

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
# Uncomment the following line if using a repository specific label file, also remove this comment line
@@ -30,3 +34,4 @@ jobs:
3034
delete-other-labels: true # After initial run, and verification change this to true
3135
dry-run: false
3236
token: ${{ secrets.SYNC_TOKEN }} # Used when updating the labels on the repository.
37+

0 commit comments

Comments
 (0)