just add issue or pr to github project
name: Add card to project
on:
issues:
types:
- opened
jobs:
add-card-to-project:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- uses: stNamco/[email protected]
with:
githubToken: ${{secrets.EXAMPLE_PAT}}
ownerType: user
ownerName: stNamco
projectNumber: 6
repositoryName: example-issues
issueId: ${{ github.event.issue.number }}
Name | Description |
---|---|
githubToken | repo and project scoped Personal Access Token (PAT). |
ownerType | user or organization . |
ownerName | user name or organization name. |
repositoryName | github repository name. |
projectNumber | github project numeber. |
issueId | the issue or pr id. |