forked from chocolatey-community/chocolatey-au
-
Notifications
You must be signed in to change notification settings - Fork 0
24 lines (22 loc) · 912 Bytes
/
label-sync.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: Sync labels
on:
workflow_dispatch:
schedule:
# Run at the end of the day (most likely UTC)
- cron: "0 0 * * *"
jobs:
labels:
# We use ubuntu as the image, as it is typically faster and cheaper (on private repos).
runs-on: ubuntu-latest
steps:
# uncomment the uses line if additional configuration in the current
# repository is used.
#- uses: actions/[email protected]
- uses: EndBug/[email protected]
with:
config-file: |
https://raw.githubusercontent.com/chocolatey/.github/master/.github/labels.yml
request-token: ${{ secrets.SYNC_TOKEN }} # Used when getting the config files.
delete-other-labels: true # After initial run, and verification change this to true
dry-run: false
token: ${{ secrets.SYNC_TOKEN }} # Used when updating the labels on the repository.