From bf4acee60b09454962ad37b9efda55bf2b534db6 Mon Sep 17 00:00:00 2001 From: Chris Schinnerl Date: Thu, 14 Mar 2024 16:43:30 +0100 Subject: [PATCH] ci: add project-add.yml --- .github/workflows/project-add.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/project-add.yml diff --git a/.github/workflows/project-add.yml b/.github/workflows/project-add.yml new file mode 100644 index 0000000..3304fc0 --- /dev/null +++ b/.github/workflows/project-add.yml @@ -0,0 +1,21 @@ +name: Add issues and PRs to Sia project + +on: + issues: + types: + - opened + pull_request: + types: + - opened + +jobs: + add-to-project: + name: Add issue to project + runs-on: ubuntu-latest + steps: + - uses: actions/add-to-project@v0.5.0 + with: + # You can target a project in a different organization + # to the issue + project-url: https://github.com/orgs/SiaFoundation/projects/5 + github-token: ${{ secrets.PAT_ADD_TO_PROJECT }}