diff --git a/.github/workflows/issue-board.yml b/.github/workflows/issue-board.yml new file mode 100644 index 0000000..80abd7e --- /dev/null +++ b/.github/workflows/issue-board.yml @@ -0,0 +1,20 @@ +name: Auto Assign to Project(s) + +on: + issues: + types: [opened, labeled] + issue_comment: + types: [created] +env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + +jobs: + assign_one_project: + runs-on: ubuntu-latest + name: Assign to One Project + steps: + - name: Assign new issues to main board + uses: srggrs/assign-one-project-github-action@1.2.1 + if: github.event.action == 'opened' + with: + project: 'https://github.com/Programvareverkstedet/Drift/projects/1'