Add - add-to-project action to all pyOpenSci repos listed in this issue #3
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
name: Add help-wanted issues to help wanted board | |
on: | |
issues: | |
types: | |
- labeled | |
jobs: | |
add-help-wanted: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Add issue to project | |
if: contains(github.event.label.name, 'help-wanted') || contains(github.event.label.name, 'sprintable') | |
id: add-to-project | |
uses: actions/add-to-project@v1.0.1 | |
with: | |
project-url: https://github.com/orgs/pyOpenSci/projects/3 | |
# This is a organization level token so it can be used across all repos in our org | |
github-token: ${{ secrets.GHPROJECT_HELP_WANTED }} | |
labeled: help-wanted, sprintable | |
label-operator: OR |