summaryrefslogtreecommitdiff
path: root/.github/workflows/issues.yml
blob: 2a38d757cd0b8cf9a0ce42989a0e438dd6c33349 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Add issues or pull-requests created to the project.
name: Add issue or pull request to Project

on:
  issues:
    types:
      - opened
  pull_request_target:
    types:
      - opened
      - reopened

jobs:
  add-to-project:
    runs-on: ubuntu-latest
    steps:
      - name: Add issue to project
        uses: actions/add-to-project@v0.5.0
        with:
          project-url: https://github.com/orgs/gorilla/projects/4
          github-token: ${{ secrets.ADD_TO_PROJECT_TOKEN }}