mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-10 09:02:14 +00:00
9d3d9e60f5
Turns out, github.token is not a PAT https://github.com/actions/add-to-project/issues/462#issuecomment-1712561302
21 lines
482 B
YAML
21 lines
482 B
YAML
name: Auto Add Issues and Pull Requests to Project
|
|
|
|
on:
|
|
pull_request:
|
|
types:
|
|
- opened
|
|
issues:
|
|
types:
|
|
- opened
|
|
|
|
jobs:
|
|
# https://github.com/actions/add-to-project
|
|
add-to-project:
|
|
name: Add issue and bugs to project
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/add-to-project@v0.5.0
|
|
with:
|
|
project-url: https://github.com/orgs/overhangio/projects/4
|
|
github-token: ${{ secrets.GH_PROJECT_PERSONAL_ACCESS_TOKEN }}
|