Skip to content

Commit 753a3e2

Browse files
authored
ci: add issues/PRs to kanban project workflow (#94)
1 parent 81c3cc7 commit 753a3e2

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/issues.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Add new issues and PRs to kanban project
2+
3+
on:
4+
issues:
5+
types:
6+
- opened
7+
pull_request_target:
8+
types:
9+
- opened
10+
11+
permissions:
12+
contents: read
13+
14+
jobs:
15+
add-to-kanban:
16+
name: Add issue/PR to kanban
17+
if: github.actor != 'dependabot[bot]'
18+
uses: zitadel/.github/.github/workflows/kanban.yml@main
19+
secrets:
20+
PROJECT_APP_ID: ${{ secrets.PROJECT_APP_ID }}
21+
PROJECT_APP_PRIVATE_KEY: ${{ secrets.PROJECT_APP_PRIVATE_KEY }}
22+
with:
23+
issue_url: ${{ github.event_name == 'issues' && github.event.issue.html_url || '' }}
24+
pr_url: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.html_url || '' }}

0 commit comments

Comments
 (0)