Skip to content

Commit b54db0c

Browse files
authored
(maint) Update label sync workflow
There have been some upstream changes to the label sync workflow and I want to make sure that they are the same here.
1 parent 090bfe6 commit b54db0c

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

.github/workflows/label-sync.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,28 @@ on:
44
schedule:
55
# Run at the end of the day (most likely UTC)
66
- cron: "0 0 * * *"
7+
push:
8+
paths:
9+
- '.github/workflows/label-sync.yml'
10+
# Uncomment the following line if using a repository specific label file, also remove this comment line
11+
# - '.github/labels.yml'
712

813
jobs:
914
labels:
1015
# We use ubuntu as the image, as it is typically faster and cheaper (on private repos).
1116
runs-on: ubuntu-latest
1217

1318
steps:
14-
# uncomment the uses line if additional configuration in the current
15-
# repository is used.
16-
#- uses: actions/checkout@v3.0.2
17-
- uses: EndBug/label-sync@v2.3.2
19+
# Uncomment the following uses statement block if using a repository specific label file, also remove this comment line
20+
#- uses: actions/checkout@v4
21+
# with:
22+
# sparse-checkout: .github/labels.yml
23+
- uses: EndBug/label-sync@v2
1824
with:
1925
config-file: |
2026
https://raw.githubusercontent.com/chocolatey/.github/main/.github/labels.yml
27+
# Uncomment the following line if using a repository specific label file, also remove this comment line
28+
# .github/labels.yml
2129
request-token: ${{ secrets.SYNC_TOKEN }} # Used when getting the config files.
2230
delete-other-labels: true # After initial run, and verification change this to true
2331
dry-run: false

0 commit comments

Comments
 (0)