.github/workflows/add-labels-based-on-column.yml #813
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: | |
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}} |