.github/workflows/labels.yml
raw| 1 | --- |
| 2 | name: Sync labels |
| 3 | |
| 4 | # yamllint disable-line rule:truthy |
| 5 | on: |
| 6 | push: |
| 7 | branches: |
| 8 | - main |
| 9 | paths: |
| 10 | - .github/labels.yml |
| 11 | workflow_dispatch: |
| 12 | |
| 13 | jobs: |
| 14 | labels: |
| 15 | name: ♻️ Sync labels |
| 16 | runs-on: ubuntu-latest |
| 17 | permissions: |
| 18 | pull-requests: write |
| 19 | steps: |
| 20 | - name: ⤵️ Check out code from GitHub |
| 21 | uses: actions/[email protected] |
| 22 | - name: 🚀 Run Label Syncer |
| 23 | uses: micnncim/[email protected] |
| 24 | env: |
| 25 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |