Merge pull request #1161 from matheuscscp/new-release-label #6
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@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 | |
- 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 |