From 9b22333b7683f4287a275dde9410b20252760614 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20H=C3=A1la?= Date: Wed, 3 Jul 2024 13:52:45 +0200 Subject: [PATCH] Create project.yml --- .github/workflows/project.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/project.yml diff --git a/.github/workflows/project.yml b/.github/workflows/project.yml new file mode 100644 index 00000000..f290db0b --- /dev/null +++ b/.github/workflows/project.yml @@ -0,0 +1,23 @@ +name: Project automations +on: + pull_request_target: + types: + - opened + +env: + review: "In Review" + +jobs: + pr_to_add_review: + name: pr_opened + runs-on: ubuntu-latest + steps: + - name: Move PR to ${{ env.review }} + uses: leonsteinhaeuser/project-beta-automations@v2.1.0 + with: + gh_token: ${{ secrets.ADD_ISSUES_TOKEN }} + organization: kuadrant + project_id: 16 + resource_node_id: ${{ github.event.pull_request.node_id }} + status_value: ${{ env.review }} # Target status + move_related_issues: true