File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Sync labels
2+ on :
3+ workflow_dispatch :
4+ schedule :
5+ # Run at the end of the day (most likely UTC)
6+ - 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'
12+
13+ jobs :
14+ labels :
15+ # We use ubuntu as the image, as it is typically faster and cheaper (on private repos).
16+ runs-on : ubuntu-latest
17+
18+ steps :
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
24+ with :
25+ config-file : |
26+ 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
29+ request-token : ${{ secrets.SYNC_TOKEN }} # Used when getting the config files.
30+ delete-other-labels : false # After initial run, and verification change this to true
31+ dry-run : false
32+ token : ${{ secrets.SYNC_TOKEN }} # Used when updating the labels on the repository.
33+
You can’t perform that action at this time.
0 commit comments