-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (31 loc) · 1.07 KB
/
project-management.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
name: Project management
on:
issues:
types:
- opened
pull_request:
types:
- opened
env:
MY_GITHUB_TOKEN: ${{ secrets.ERCLU_ORGANIZATION_TOKEN }}
jobs:
assign-main-project:
name: Assign to our main project board
runs-on: ubuntu-18.04
steps:
- name: Assign new issues and new PRs to the main organization project board
uses: srggrs/assign-one-project-github-action@1.2.0
if: github.event.action == 'opened' && !contains(github.event.issue.labels.*.name, 'requirement')
with:
project: "https://github.com/orgs/GruppOne/projects/9"
column_name: "To do"
assign-requirement-main-project:
name: Assign a requirement to our main project board
runs-on: ubuntu-18.04
steps:
- name: Assign new requirement to the correct project column
uses: srggrs/assign-one-project-github-action@1.2.0
if: contains(github.event.issue.labels.*.name, 'requirement')
with:
project: "https://github.com/orgs/GruppOne/projects/9"
column_name: "To do - Requirements"