Meta - Label Sync #127
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
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow | |
name: "Meta - Label Sync" | |
on: | |
workflow_dispatch: | |
push: | |
branches: [main] | |
paths: [.github/labels.yaml] | |
schedule: | |
- cron: "0 0 * * *" # Every day at midnight | |
permissions: | |
issues: write | |
jobs: | |
label-sync: | |
name: Label Sync | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Sync Labels | |
uses: EndBug/label-sync@52074158190acb45f3077f9099fea818aa43f97a # v2.3.3 | |
with: | |
config-file: .github/labels.yaml | |
token: ${{ secrets.GITHUB_TOKEN }} | |
delete-other-labels: true |