.github/workflows/remove-label-based-on-column.yml #24395
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | |
} | |
] |