From ad524b3d7fe80d762a25c2b82c45e8118ef87871 Mon Sep 17 00:00:00 2001 From: Jan Richter Date: Thu, 8 Feb 2024 13:55:04 +0100 Subject: [PATCH] Workflow to add new issue/PR to project This workflow will add every new issue/PR to avocado project, so we will have all issues/PR on one project board. Reference: https://github.com/orgs/avocado-framework/projects/1 Signed-off-by: Jan Richter --- .github/workflows/project.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 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 0000000..dfd2224 --- /dev/null +++ b/.github/workflows/project.yml @@ -0,0 +1,24 @@ +name: Add new issue/PR to project + +on: + issues: + types: + - opened + - reopened + + pull_request_target: + types: + - opened + +jobs: + add-to-project: + name: Add issue or PR to project + runs-on: ubuntu-latest + steps: + - name: Check out repository code + uses: actions/checkout@v3 + + - name: add-to-project + uses: ./ + with: + avocado-project: true