-
-
Notifications
You must be signed in to change notification settings - Fork 483
44 lines (43 loc) · 1.41 KB
/
add-labels-based-on-column.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
on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '0 * * * *'
workflow_dispatch: # Enable manual runs of the bot
jobs:
add_help_wanted_labels:
runs-on: ubuntu-latest
name: Add help wanted labels
steps:
- name: Add help wanted labels
uses: rubyforgood/[email protected]
id: add-help-wanted-labels
with:
columns_labels: >
[
{
"column_name": "Not ready to build",
"labels": ["not-ready-to-build"],
"project_name": "CASA Volunteer Portal"
},
{
"column_name": "To do",
"labels": ["Help Wanted"],
"project_name": "CASA Volunteer Portal"
},
{
"column_name": "To do",
"labels": ["Stakeholder-Feature"],
"project_name": "Stakeholder Requested Features"
},
{
"column_name": "In progress",
"labels": ["Stakeholder-Feature"],
"project_name": "Stakeholder Requested Features"
},
{
"column_name": "Done",
"labels": ["Stakeholder-Feature"],
"project_name": "Stakeholder Requested Features"
}
]
token: ${{secrets.GITHUB_TOKEN}}