Merge pull request #1622 from fluxcd/release-label #8
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: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- .github/labels.yaml | |
permissions: | |
contents: read | |
jobs: | |
labels: | |
name: Run sync | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- uses: EndBug/label-sync@52074158190acb45f3077f9099fea818aa43f97a # v2.3.3 | |
with: | |
# Configuration file | |
config-file: | | |
https://raw.githubusercontent.com/fluxcd/community/main/.github/standard-labels.yaml | |
.github/labels.yaml | |
# Strictly declarative | |
delete-other-labels: true |