From a78759894ef02e54611323b7b4789a9f0d85d135 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jordi=20Guti=C3=A9rrez=20Hermoso?= Date: Mon, 13 May 2024 14:22:15 -0400 Subject: [PATCH] workflows: add a workflow to add issues to the self-hosted project Based on instructions here: https://github.com/actions/add-to-project The idea is that anyone can tag an issue as self-hosting and if that's so, it'll show up in the corresponding kanban. --- .github/workflows/self-hosted.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/self-hosted.yml diff --git a/.github/workflows/self-hosted.yml b/.github/workflows/self-hosted.yml new file mode 100644 index 00000000000..0c2464ce0ef --- /dev/null +++ b/.github/workflows/self-hosted.yml @@ -0,0 +1,18 @@ +name: Add self-hosting issues to the self-hosting project + +on: + issues: + types: + - opened + - labeled + +jobs: + add-to-project: + name: Add issue to project + runs-on: ubuntu-latest + steps: + - uses: actions/add-to-project@RELEASE_VERSION + with: + project-url: https://github.com/orgs/gristlabs/projects/2 + github-token: ${{ secrets.SELF_HOSTED_PROJECT }} + labeled: self-hosting