Skip to content

Experimental Design [Larger action link variation] #2044

Experimental Design [Larger action link variation]

Experimental Design [Larger action link variation] #2044

name: Project automation
on:
issues:
types:
- opened
jobs:
add_issue_to_project:
name: Add new issues to project board
runs-on: ubuntu-latest
steps:
- run: |
gh api graphql -f query='mutation($project:ID!, $issue:ID!) { addProjectNextItem(input: {projectId: $project, contentId: $issue}) { projectNextItem { id } } }' -f project=${{ secrets.PROJECT_ID }} -f issue=${{ github.event.issue.node_id }}
env:
GITHUB_TOKEN: ${{ secrets.PAT_ISSUES_TO_PROJECTS }}