| 1 |
name: Issue Assignment Bot |
| 2 |
on: |
| 3 |
issue_comment: |
| 4 |
types: [created] |
| 5 |
permissions: |
| 6 |
contents: read |
| 7 |
issues: write |
| 8 |
concurrency: |
| 9 |
group: bot-autoassign-issue-${{ github.repository }}-${{ github.event.issue.number }} |
| 10 |
cancel-in-progress: true |
| 11 |
jobs: |
| 12 |
respond-to-assign-request: |
| 13 |
if: github.event.issue.pull_request == null |
| 14 |
uses: openwisp/openwisp-utils/.github/workflows/reusable-bot-autoassign.yml@master |
| 15 |
with: |
| 16 |
bot_command: issue_assignment |
| 17 |
secrets: |
| 18 |
OPENWISP_BOT_APP_ID: ${{ secrets.OPENWISP_BOT_APP_ID }} |
| 19 |
OPENWISP_BOT_PRIVATE_KEY: ${{ secrets.OPENWISP_BOT_PRIVATE_KEY }} |