Skip to content

ci: use default token for project workflow #1

ci: use default token for project workflow

ci: use default token for project workflow #1

name: Add Issues to Project

Check failure on line 1 in .github/workflows/add-issues-to-project.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/add-issues-to-project.yml

Invalid workflow file

(Line: 16, Col: 3): Unexpected value 'projects'
# 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 }}