-
-
Notifications
You must be signed in to change notification settings - Fork 29
42 lines (40 loc) · 1.41 KB
/
issue-label-to-project-board.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
name: "Add labeled issues to project board"
on:
issues:
types: [labeled]
env:
MY_GITHUB_TOKEN: ${{ secrets.PAT }}
jobs:
assign:
runs-on: ubuntu-latest
steps:
- name: Maintenance Issues
uses: srggrs/[email protected]
if: |
contains(github.event.issue.labels.*.name, 'bug') ||
contains(github.event.issue.labels.*.name, 'performance') ||
contains(github.event.issue.labels.*.name, 'question')
with:
project: 'https://github.com/orgs/CyclopsMC/projects/1'
column_name: 'To Do'
- name: Feature Optional
uses: srggrs/[email protected]
if: |
contains(github.event.issue.labels.*.name, 'feature-long-term')
with:
project: 'https://github.com/orgs/CyclopsMC/projects/2'
column_name: 'Options'
- name: Feature Accepted
uses: srggrs/[email protected]
if: |
contains(github.event.issue.labels.*.name, 'feature')
with:
project: 'https://github.com/orgs/CyclopsMC/projects/2'
column_name: 'Accepted (To Do)'
- name: More Information Needed
uses: srggrs/[email protected]
if: |
contains(github.event.issue.labels.*.name, 'more-information-needed')
with:
project: 'https://github.com/orgs/CyclopsMC/projects/1'
column_name: 'On hold (awaiting input)'