ci: fix double CI run on renovate PR #376
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: create declared labels | |
"on": | |
issues: | |
push: | |
branches: | |
- master | |
paths: | |
- ".github/workflows/issue-label-manager.yml" | |
- ".github/labels.yml" | |
permissions: | |
contents: read | |
issues: write | |
pull-requests: write | |
jobs: | |
labels: | |
name: Invoke issue-label-manager action | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 | |
- uses: crazy-max/ghaction-github-labeler@de749cf181958193cb7debf1a9c5bb28922f3e1b # v5 | |
if: success() | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
yaml-file: .github/labels.yml | |
skip-delete: false # false -> delete labels that aren't in `yaml-file` |