-
Notifications
You must be signed in to change notification settings - Fork 2.7k
69 lines (61 loc) · 2.18 KB
/
triage_issues.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
name: 'Triage: Issues'
on:
issues:
types: [opened, labeled, unlabeled]
permissions:
issues: write
jobs:
add_label:
if: github.event.action == 'opened'
runs-on: ubuntu-latest
steps:
- name: 'Add label to issue'
uses: github/[email protected]
with:
repo-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
configuration-path: '.github/issue_add_label_config.yml'
not-before: 2023-02-27T00:00:00Z
enable-versioned-regex: 0
add_to_projects:
if: github.event.action == 'labeled' && github.event.issue.state == 'open'
runs-on: ubuntu-latest
steps:
- name: 'Engraving'
uses: actions/add-to-project@main
with:
project-url: https://github.com/orgs/musescore/projects/23
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
labeled: engraving
- name: 'Cloud saving/loading'
uses: actions/add-to-project@main
with:
project-url: https://github.com/orgs/musescore/projects/22
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
labeled: cloud
- name: 'Muse Sounds'
uses: actions/add-to-project@main
with:
project-url: https://github.com/orgs/musescore/projects/21
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
labeled: 'Muse Sounds'
- name: 'VST'
uses: actions/add-to-project@main
with:
project-url: https://github.com/orgs/musescore/projects/20
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
labeled: VST
- name: 'Design tasks'
uses: actions/add-to-project@main
with:
project-url: https://github.com/orgs/musescore/projects/26
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
labeled: 'needs design'
assign:
if: (github.event.action == 'labeled' || github.event.action == 'unlabeled') && github.event.issue.state == 'open'
runs-on: ubuntu-latest
steps:
- name: 'Set assignees on issue'
uses: musescore/github_actions/assign-by-label@main
with:
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
configuration-path: '.github/issue_assign_by_label_config.yml'