Skip to content

Fix invalid token for initial sharing #27

Fix invalid token for initial sharing

Fix invalid token for initial sharing #27

name: Add New Issue or PR to Project
on:
issues:
types: [opened]
pull_request:
types: [opened]
jobs:
add_to_project:
runs-on: ubuntu-latest
steps:
- name: Add issue to project
if: github.event_name == 'issues'
uses: actions/add-to-project@v1.0.2
with:
project-url: https://github.com/orgs/ls1intum/projects/75
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
- name: Add pull request to project
if: github.event_name == 'pull_request'
uses: actions/add-to-project@v1.0.2
with:
project-url: https://github.com/orgs/ls1intum/projects/75
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}