- to get started, create a Personal Access Token
- for project boards under a user, be sure to give the token full repo rights
- for project boards under an organization, be sure to give read/write org permissions
- add the token to your repo's actions' secrets as
TOKEN
- add the action
name: Add new issues to project board
on:
issues:
types:
- opened
jobs:
add-to-project:
runs-on: ubuntu-latest
steps:
- name: Add Issue to Project
uses: josefaidt/add-issue-to-projects-beta@v1
with:
github-token: ${{ secrets.TOKEN }}
project-number: 2
project-owner: 'josefaidt'