-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (35 loc) · 954 Bytes
/
update-labels.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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/[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