Debian Codegraph @

.github/workflows/bot-autoassign-pr-issue-link.yml

raw
1 name: PR Issue Auto-Assignment
2 on:
3 pull_request_target:
4 types: [opened, reopened, closed, edited, ready_for_review]
5 permissions:
6 contents: read
7 issues: write
8 pull-requests: read
9 concurrency:
10 group: bot-autoassign-pr-link-${{ github.repository }}-${{ github.event.pull_request.number }}
11 cancel-in-progress: true
12 jobs:
13 auto-assign-issue:
14 if: github.event.action != 'closed' || github.event.pull_request.merged == false
15 uses: openwisp/openwisp-utils/.github/workflows/reusable-bot-autoassign.yml@master
16 with:
17 bot_command: issue_assignment
18 secrets:
19 OPENWISP_BOT_APP_ID: ${{ secrets.OPENWISP_BOT_APP_ID }}
20 OPENWISP_BOT_PRIVATE_KEY: ${{ secrets.OPENWISP_BOT_PRIVATE_KEY }}