Create Repository Labels #136
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
--- | |
"on": | |
push: | |
branches: | |
- trunk | |
paths: | |
- .github/labels.yaml | |
- .github/workflows/repo-labels.yaml | |
pull_request: | |
branches: | |
- trunk | |
paths: | |
- .github/labels.yaml | |
- .github/workflows/repo-labels.yaml | |
schedule: | |
- cron: "0 0 * * TUE" | |
name: Create Repository Labels | |
jobs: | |
labels: | |
name: Synchronize repository labels | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Sync GitHub Issue Labels | |
uses: crazy-max/ghaction-github-labeler@3de87da19416edc45c90cd89e7a4ea922a3aae5a # v4.1.0 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
yaml-file: .github/labels.yaml | |
skip-delete: false | |
dry-run: ${{ github.ref != 'refs/heads/trunk' }} |