-
Notifications
You must be signed in to change notification settings - Fork 3
47 lines (41 loc) · 1.53 KB
/
main.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
name: Auto Assign to Backlog
on:
issues:
types: [opened, labeled]
env:
MY_GITHUB_TOKEN: ${{ secrets.SIMON_ORG_TOKEN }}
jobs:
assign_one_project:
runs-on: ubuntu-latest
name: Assign to Project
steps:
- name: Assign NEW issues backlog inbox
uses: srggrs/[email protected]
if: github.event.action == 'opened'
with:
project: 'https://github.com/orgs/WootingKb/projects/2'
column_name: 'Inbox'
- uses: konradpabjan/[email protected]
if: github.event.action == 'labeled'
with:
action-token: "${{ secrets.SIMON_ORG_TOKEN }}"
project-url: "https://github.com/orgs/WootingKb/projects/2"
column-name: "Bugs"
label-name: "bug"
columns-to-ignore: "Freezer,Assigned,Done"
- uses: konradpabjan/[email protected]
if: github.event.action == 'labeled'
with:
action-token: "${{ secrets.SIMON_ORG_TOKEN }}"
project-url: "https://github.com/orgs/WootingKb/projects/2"
column-name: "Features / Enhancement"
label-name: "enhancement"
columns-to-ignore: "Freezer,Assigned,Done"
- uses: konradpabjan/[email protected]
if: github.event.action == 'labeled'
with:
action-token: "${{ secrets.SIMON_ORG_TOKEN }}"
project-url: "https://github.com/orgs/WootingKb/projects/2"
column-name: "Freezer"
label-name: "wontfix"
columns-to-ignore: "Assigned,Done"