Skip to content

[Actions] Updated .github/workflows/update-labels.yml #42

[Actions] Updated .github/workflows/update-labels.yml

[Actions] Updated .github/workflows/update-labels.yml #42

Workflow file for this run

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"
if: startsWith(runner.name, 'buildagent-')
shell: bash
run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE"
- name: "Checkout Source"
uses: actions/[email protected]
with:
fetch-depth: 0
fetch-tags: true
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