Sync Labels #502
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: Sync Labels | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- .github/labels.yml | |
- .github/workflows/sync-labels.yml | |
jobs: | |
sync-labels: | |
name: Sync Labels | |
runs-on: ubuntu-latest | |
permissions: write-all | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: Syncing labels | |
uses: crazy-max/ghaction-github-labeler@v5 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
yaml-file: .github/labels.yml |