Files
directus/.github/workflows/add-to-project.yml
Jay Cammarano 4e5fbf1b0c Use pull_request_target instead of pull_request for auto-project-assign (#13648)
* Changes the token to fallback to github.token

* pull_request_target

* Update .github/workflows/add-to-project.yml

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2022-06-01 14:04:53 -04:00

20 lines
403 B
YAML

name: Add issues to Projects (beta)
on:
issues:
types:
- opened
pull_request_target:
types:
- opened
jobs:
add-to-project:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@v0.0.3
with:
project-url: https://github.com/orgs/directus/projects/6
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}