Sync labels #1
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: # yamllint disable-line rule:truthy | |
# You can run this with every type of event, but it's better to run it only when you actually need it. | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
- master | |
paths: | |
- .github/labels.yml | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: micnncim/action-label-syncer@v1.3.0 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
manifest: .github/labels.yml | |
prune: false |