.github/workflows/issues.yml
raw| 1 | # Add all the issues created to the project. |
| 2 | name: Add issue or pull request to Project |
| 3 | |
| 4 | on: |
| 5 | issues: |
| 6 | types: |
| 7 | - opened |
| 8 | pull_request_target: |
| 9 | types: |
| 10 | - opened |
| 11 | - reopened |
| 12 | |
| 13 | jobs: |
| 14 | add-to-project: |
| 15 | runs-on: ubuntu-latest |
| 16 | steps: |
| 17 | - name: Add issue to project |
| 18 | uses: actions/[email protected] |
| 19 | with: |
| 20 | project-url: https://github.com/orgs/gorilla/projects/4 |
| 21 | github-token: ${{ secrets.ADD_TO_PROJECT_TOKEN }} |