[Dependencies] - Update .github/workflows/update-labels.yml to match … #30
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: "Repo: Update Labels" | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- '.github/labels.yml' | |
- '.github/workflows/update-labels.yml' | |
concurrency: | |
group: ${{github.workflow}}-${{github.ref}} | |
cancel-in-progress: true | |
jobs: | |
update-labels-config: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Initialise Workspace" | |
shell: bash | |
run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE" | |
- name: "Checkout Source" | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
token: ${{secrets.SOURCE_PUSH_TOKEN}} | |
- name: "Update Github label config" | |
if: success() | |
uses: crazy-max/[email protected] | |
with: | |
github-token: ${{secrets.SOURCE_PUSH_TOKEN}} | |
yaml-file: .github/labels.yml | |
skip-delete: true | |
dry-run: false | |
exclude: | | |
help* | |
*issue | |