From 06e8ea56be411378d06845cbb694490a26a17394 Mon Sep 17 00:00:00 2001 From: Brian Munkholm Date: Wed, 6 Nov 2024 22:26:54 +0100 Subject: [PATCH] Create add-to-project.yaml Add new issues to cloud project and add triage label --- .github/workflows/add-to-project.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/add-to-project.yaml diff --git a/.github/workflows/add-to-project.yaml b/.github/workflows/add-to-project.yaml new file mode 100644 index 00000000..83d21502 --- /dev/null +++ b/.github/workflows/add-to-project.yaml @@ -0,0 +1,23 @@ +# Please note that this adds issues to a private project which is maintained by Crate.io. +# This allows us to triage and promptly come back to the creators. +name: Add new issues to the right project + +on: + issues: + types: + - opened + - reopened + +jobs: + add-to-project: + name: Add issue to project with Triage label + runs-on: ubuntu-latest + steps: + - uses: actions/add-to-project@v1.0.2 + with: + project-url: https://github.com/orgs/crate/projects/40 + github-token: ${{ secrets.JENKINS_USER_TOKEN }} + + - uses: actions-ecosystem/action-add-labels@v1 + with: + labels: triage