Schedule: Sync labels #22242
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: "Schedule: Sync labels" | |
on: # yamllint disable-line rule:truthy | |
workflow_dispatch: | |
schedule: | |
- cron: "0 * * * *" | |
jobs: | |
labels: | |
name: Sync Labels | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4 | |
with: | |
token: ${{ secrets.BOT_TOKEN }} | |
- name: Sync Labels | |
uses: EndBug/label-sync@52074158190acb45f3077f9099fea818aa43f97a # v2 | |
with: | |
config-file: | | |
https://raw.githubusercontent.com/truecharts/.github/main/.github/labels.yaml | |
token: "${{ secrets.BOT_TOKEN }}" | |
delete-other-labels: true |