| 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 || '' }} |