Merge pull request #56 from CodeWithJuber/dependabot/github_actions/c… #3
This file contains hidden or 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
| # Sync repo labels from .github/labels.yml (the labels the templates, Dependabot, | |
| # and the stale bot reference). Runs on change + on demand. Uses the default token | |
| # (label management needs write, not admin). | |
| name: Labels | |
| on: | |
| push: | |
| branches: [master] | |
| paths: [".github/labels.yml", ".github/workflows/labels.yml"] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| issues: write | |
| jobs: | |
| sync: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: crazy-max/ghaction-github-labeler@v6 | |
| with: | |
| yaml-file: .github/labels.yml | |
| skip-delete: true # never delete labels this file doesn't list |