ci: use default token for project workflow #1
Workflow file for this run
This file contains hidden or 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 Issues to Project | ||
| # Requires a repository variable named `PUBLIC_UI_PROJECT_URL` that contains the | ||
| # GitHub Project (beta) URL. The workflow uses the default `GITHUB_TOKEN`, so no | ||
| # additional PAT secret is necessary. | ||
| on: | ||
| issues: | ||
| types: | ||
| - opened | ||
| - reopened | ||
| - transferred | ||
| permissions: | ||
| contents: read | ||
| projects: write | ||
| jobs: | ||
| add-to-project: | ||
| name: Add issue to roadmap project | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Add issue to organization project | ||
| uses: actions/[email protected] | ||
| with: | ||
| project-url: ${{ vars.PUBLIC_UI_PROJECT_URL }} | ||
| github-token: ${{ secrets.GITHUB_TOKEN }} | ||