A javascript github action to add a pull request to the first project on the repository.
NOTE: If you have more than one project, this might not work.
name: 'add new pull request to project board'
on:
pull_request:
branches:
- master
types:
- opened
jobs:
add_to_project:
runs-on: ubuntu-latest
steps:
- uses: AdityaGovardhan/ga-pull-requests-projects@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
repository: ${{ github.repository }}
pull_request: ${{ github.event.pull_request.number }}
References: