Search code examples
githubautomationgithub-actionsgithub-issues

Github - Auto assign Issue to Project


I would like to Auto Assign an issue to a project in Github. Basically automate the below screenshot for every issue automatically opened. Any ideas?

enter image description here


Solution

  • You can use create-or-update-project-card to achieve this.

    on:
      issues:
        types: [opened]
    jobs:
      createCard:
        runs-on: ubuntu-latest
        steps:
          - name: Create or Update Project Card
            uses: peter-evans/create-or-update-project-card@v1
            with:
              project-name: My project
              column-name: My column