-
-
Notifications
You must be signed in to change notification settings - Fork 483
43 lines (42 loc) · 1.38 KB
/
remove-label-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
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:
remove_help_wanted_labels:
runs-on: ubuntu-latest
name: Remove help wanted labels based on column
steps:
- name: Remove help wanted labels based on column
uses: rubyforgood/[email protected]
id: remove-help-wanted-labels
with:
token: ${{secrets.GITHUB_TOKEN}}
columns_labels: >
[
{
"column_name": "Done (in prod!)",
"labels": ["Help Wanted"],
"project_name": "CASA Volunteer Portal"
},
{
"column_id": "47fc9ee4",
"labels": ["Help Wanted"]
},
{
"column_name": "Merged to QA",
"labels": ["Help Wanted"],
"project_name": "CASA Volunteer Portal"
},
{
"column_name": "Not ready to build",
"labels": ["Help Wanted"],
"project_name": "CASA Volunteer Portal"
},
{
"column_name": "Requires Design / Issues To Be",
"labels": ["Help Wanted"],
"project_name": "CASA Volunteer Portal"
}
]