feat: add labels update workflow in test mode #2
Workflow file for this run
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: | |
# You can run this with every type of event, but it's better to run it only when you actually need it. | |
pull_request: | |
permissions: | |
issues: write | |
jobs: | |
labels: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: checkout repo | |
- uses: EndBug/label-sync@v2 | |
- name: sync labels | |
with: | |
config-file: .github/labels.yml | |
# If you want to delete any additional label, set this to true | |
delete-other-labels: false | |
# Test | |
dry-run: true | |
token: ${{ secrets.GITHUB_TOKEN }} |