From 4143eafae5c8b234de18f61f4448e7cfb4304c21 Mon Sep 17 00:00:00 2001 From: Milan Kolar Date: Thu, 28 May 2020 00:22:37 +0200 Subject: [PATCH] Add project automation for bugs --- .github/workflows/automate-projects.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/automate-projects.yml diff --git a/.github/workflows/automate-projects.yml b/.github/workflows/automate-projects.yml new file mode 100644 index 0000000000..b605071c2d --- /dev/null +++ b/.github/workflows/automate-projects.yml @@ -0,0 +1,19 @@ +name: Automate Projects + +on: + issues: + types: [opened, labeled] +env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + +jobs: + assign_one_project: + runs-on: ubuntu-latest + name: Assign to One Project + steps: + - name: Assign NEW bugs to triage + uses: srggrs/assign-one-project-github-action@1.2.0 + if: contains(github.event.issue.labels.*.name, 'bug') + with: + project: 'https://github.com/pypeclub/pype/projects/2' + column_name: 'Needs triage'