-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (46 loc) · 1.52 KB
/
manage-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
name: Manage issues
on:
issues:
types: [opened, labeled, assigned]
jobs:
set-meeting-label:
name: Set label of Meeting issues to meetings
runs-on: ubuntu-latest
steps:
- uses: Naturalclar/[email protected]
if: github.event.action == 'opened'
with:
title-or-body: "title"
parameters: '[ {"keywords": ["Meeting"], "labels": ["meeting"]}]'
github-token: "${{ secrets.GITHUB_TOKEN }}"
set-meeting-project:
name: Set project of Meeting issues to Meetings
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
runs-on: ubuntu-latest
steps:
- uses: srggrs/[email protected]
if: |
github.event.action == 'opened' &&
contains(github.event.issue.title, 'Meeting')
with:
# CHANGE PROJECT URL
project: 'https://github.com/stefanocoretta/alb-ipa/projects/1'
column_name: 'Next'
set-task-project:
name: Set project of Task issues to Task board Triage
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
runs-on: ubuntu-latest
steps:
- uses: srggrs/[email protected]
if: |
github.event.action == 'labeled' &&
(
contains(github.event.issue.labels.*.name, 'todo') ||
contains(github.event.issue.labels.*.name, 'discussion')
)
with:
# CHANGE PROJECT URL
project: 'https://github.com/stefanocoretta/alb-ipa/projects/2'
column_name: 'Triage'