From 0adc314d1fac5d54a872db75f2c9e48498a1e322 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B8vbr=C3=B8tte=20Olsen?= Date: Sat, 15 Jan 2022 20:07:01 +0100 Subject: [PATCH] Create issue-board.yml --- .github/workflows/issue-board.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/issue-board.yml 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'