Fix invalid token for initial sharing #27
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |