From 27c8a321dfeb998252f08413aa1fcbdd4215237d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jordi=20Guti=C3=A9rrez=20Hermoso?= Date: Fri, 17 May 2024 15:25:07 -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 00000000..ac2fc8c0 --- /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@v1.0.1 + with: + project-url: https://github.com/orgs/gristlabs/projects/2 + github-token: ${{ secrets.SELF_HOSTED_PROJECT }} + labeled: self-hosting