From f006da8aaa46fefbcf8ce1a1bc828d14920d4160 Mon Sep 17 00:00:00 2001 From: Marcos Marx Date: Mon, 4 Oct 2021 13:06:01 -0300 Subject: [PATCH] Github Bot add community issue/pr into Github Project (#6721) * project bot add community issue/pr into projects * eof --- .github/workflows/project.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/project.yaml b/.github/workflows/project.yaml index 92eb4d86e78..a210adc6d52 100644 --- a/.github/workflows/project.yaml +++ b/.github/workflows/project.yaml @@ -26,3 +26,17 @@ jobs: with: project: "https://github.com/airbytehq/airbyte/projects/4" column_name: "Needs Triage" + - name: Assign New Community Issues to Github Project + uses: srggrs/assign-one-project-github-action@1.2.0 + if: + contains(github.event.issue.labels.*.name, 'community') + with: + project: "https://github.com/airbytehq/airbyte/projects/16" + column_name: "To do" + - name: Assign New Community PR to Github Project + uses: srggrs/assign-one-project-github-action@1.2.0 + if: + contains(github.event.pull_request.labels.*.name, 'community') + with: + project: "https://github.com/airbytehq/airbyte/projects/15" + column_name: "To do"