From 1ba70d0b9786d3c3c439b7d5553f1a5a3c26f25b Mon Sep 17 00:00:00 2001 From: Pawel Wieczorkiewicz Date: Sat, 22 Aug 2020 14:25:05 +0200 Subject: [PATCH] Add auto assign workflow for issues and PRs --- .github/workflows/auto_assign.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/auto_assign.yml diff --git a/.github/workflows/auto_assign.yml b/.github/workflows/auto_assign.yml new file mode 100644 index 00000000..b7e51b39 --- /dev/null +++ b/.github/workflows/auto_assign.yml @@ -0,0 +1,20 @@ +name: Auto Assign + +on: + issues: + types: [opened, labeled] + pull_request: + types: [opened, labeled] +env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + +jobs: + auto_assign: + runs-on: ubuntu-latest + name: Assign to Project + steps: + - name: Assign NEW issues and PRs to project 1 + uses: srggrs/assign-one-project-github-action@1.2.0 + if: github.event.action == 'opened' + with: + project: 'https://github.com/awslabs/ktf/projects/1'