From e20ac932b0759a72cf9d9df9f45bfcd84cf248f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20M=C3=B6hlmann?= Date: Mon, 20 Jul 2026 22:11:11 +0700 Subject: [PATCH] ci: add issues/PRs to kanban project workflow --- .github/workflows/issues.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/issues.yml diff --git a/.github/workflows/issues.yml b/.github/workflows/issues.yml new file mode 100644 index 00000000..20e26964 --- /dev/null +++ b/.github/workflows/issues.yml @@ -0,0 +1,24 @@ +name: Add new issues and PRs to kanban project + +on: + issues: + types: + - opened + pull_request_target: + types: + - opened + +permissions: + contents: read + +jobs: + add-to-kanban: + name: Add issue/PR to kanban + if: github.actor != 'dependabot[bot]' + uses: zitadel/.github/.github/workflows/kanban.yml@main + secrets: + PROJECT_APP_ID: ${{ secrets.PROJECT_APP_ID }} + PROJECT_APP_PRIVATE_KEY: ${{ secrets.PROJECT_APP_PRIVATE_KEY }} + with: + issue_url: ${{ github.event_name == 'issues' && github.event.issue.html_url || '' }} + pr_url: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.html_url || '' }}