File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 55 # Run at the end of the day (most likely UTC)
66 - cron : " 0 0 * * *"
77 push :
8- branches :
9- - " master"
108 paths :
11- - " .github/labels.yml"
9+ - ' .github/workflows/label-sync.yml'
10+ - ' .github/labels.yml'
1211
1312jobs :
1413 labels :
1514 # We use ubuntu as the image, as it is typically faster and cheaper (on private repos).
1615 runs-on : ubuntu-latest
1716
1817 steps :
19- 20- 18+ - uses : actions/checkout@v4
19+ with :
20+ sparse-checkout : .github/labels.yml
21+ - uses : EndBug/label-sync@v2
2122 with :
2223 config-file : |
2324 https://raw.githubusercontent.com/chocolatey/.github/master/.github/labels.yml
2425 .github/labels.yml
2526 request-token : ${{ secrets.SYNC_TOKEN }} # Used when getting the config files.
26- delete-other-labels : true
27+ delete-other-labels : true # After initial run, and verification change this to true
2728 dry-run : false
28- token : ${{ secrets.SYNC_TOKEN }} # Used when updating the lables on the repository
29+ token : ${{ secrets.SYNC_TOKEN }} # Used when updating the labels on the repository.
You can’t perform that action at this time.
0 commit comments