Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/bot-autoassign-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Issue Assignment Bot

Check failure on line 1 in .github/workflows/bot-autoassign-issue.yml

View workflow job for this annotation

GitHub Actions / Build debian11

yaml[document-start]

Missing document start "---"

Check failure on line 1 in .github/workflows/bot-autoassign-issue.yml

View workflow job for this annotation

GitHub Actions / Build ubuntu2204

yaml[document-start]

Missing document start "---"

Check failure on line 1 in .github/workflows/bot-autoassign-issue.yml

View workflow job for this annotation

GitHub Actions / Build debian13

yaml[document-start]

Missing document start "---"

Check failure on line 1 in .github/workflows/bot-autoassign-issue.yml

View workflow job for this annotation

GitHub Actions / Build debian12

yaml[document-start]

Missing document start "---"

Check failure on line 1 in .github/workflows/bot-autoassign-issue.yml

View workflow job for this annotation

GitHub Actions / Build ubuntu2404

yaml[document-start]

Missing document start "---"
on:
issue_comment:
types: [created]
permissions:
contents: read
issues: write
concurrency:
group: bot-autoassign-issue-${{ github.repository }}-${{ github.event.issue.number }}
cancel-in-progress: true
jobs:
respond-to-assign-request:
if: github.event.issue.pull_request == null
uses: openwisp/openwisp-utils/.github/workflows/reusable-bot-autoassign.yml@master
Comment thread
coderabbitai[bot] marked this conversation as resolved.
with:
bot_command: issue_assignment
secrets:
OPENWISP_BOT_APP_ID: ${{ secrets.OPENWISP_BOT_APP_ID }}
OPENWISP_BOT_PRIVATE_KEY: ${{ secrets.OPENWISP_BOT_PRIVATE_KEY }}
20 changes: 20 additions & 0 deletions .github/workflows/bot-autoassign-pr-issue-link.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: PR Issue Auto-Assignment

Check failure on line 1 in .github/workflows/bot-autoassign-pr-issue-link.yml

View workflow job for this annotation

GitHub Actions / Build debian11

yaml[document-start]

Missing document start "---"

Check failure on line 1 in .github/workflows/bot-autoassign-pr-issue-link.yml

View workflow job for this annotation

GitHub Actions / Build ubuntu2204

yaml[document-start]

Missing document start "---"

Check failure on line 1 in .github/workflows/bot-autoassign-pr-issue-link.yml

View workflow job for this annotation

GitHub Actions / Build debian13

yaml[document-start]

Missing document start "---"

Check failure on line 1 in .github/workflows/bot-autoassign-pr-issue-link.yml

View workflow job for this annotation

GitHub Actions / Build debian12

yaml[document-start]

Missing document start "---"

Check failure on line 1 in .github/workflows/bot-autoassign-pr-issue-link.yml

View workflow job for this annotation

GitHub Actions / Build ubuntu2404

yaml[document-start]

Missing document start "---"
on:
pull_request_target:
types: [opened, reopened, closed]
permissions:
contents: read
issues: write
pull-requests: read
concurrency:
group: bot-autoassign-pr-link-${{ github.repository }}-${{ github.event.pull_request.number }}-${{ github.event.action }}
cancel-in-progress: true
jobs:
auto-assign-issue:
if: github.event.action != 'closed' || github.event.pull_request.merged == false
uses: openwisp/openwisp-utils/.github/workflows/reusable-bot-autoassign.yml@master
Comment thread
coderabbitai[bot] marked this conversation as resolved.
with:
bot_command: issue_assignment
secrets:
OPENWISP_BOT_APP_ID: ${{ secrets.OPENWISP_BOT_APP_ID }}
OPENWISP_BOT_PRIVATE_KEY: ${{ secrets.OPENWISP_BOT_PRIVATE_KEY }}
30 changes: 30 additions & 0 deletions .github/workflows/bot-autoassign-pr-reopen.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: PR Reopen Reassignment

Check failure on line 1 in .github/workflows/bot-autoassign-pr-reopen.yml

View workflow job for this annotation

GitHub Actions / Build debian11

yaml[document-start]

Missing document start "---"

Check failure on line 1 in .github/workflows/bot-autoassign-pr-reopen.yml

View workflow job for this annotation

GitHub Actions / Build ubuntu2204

yaml[document-start]

Missing document start "---"

Check failure on line 1 in .github/workflows/bot-autoassign-pr-reopen.yml

View workflow job for this annotation

GitHub Actions / Build debian13

yaml[document-start]

Missing document start "---"

Check failure on line 1 in .github/workflows/bot-autoassign-pr-reopen.yml

View workflow job for this annotation

GitHub Actions / Build debian12

yaml[document-start]

Missing document start "---"

Check failure on line 1 in .github/workflows/bot-autoassign-pr-reopen.yml

View workflow job for this annotation

GitHub Actions / Build ubuntu2404

yaml[document-start]

Missing document start "---"
on:
pull_request_target:
types: [reopened]
issue_comment:
types: [created]
permissions:
contents: read
issues: write
pull-requests: write
concurrency:
group: bot-autoassign-pr-reopen-${{ github.repository }}-${{ github.event.pull_request.number || github.event.issue.number }}
cancel-in-progress: true
jobs:
reassign-on-reopen:
if: github.event_name == 'pull_request_target' && github.event.action == 'reopened'
uses: openwisp/openwisp-utils/.github/workflows/reusable-bot-autoassign.yml@master
Comment thread
coderabbitai[bot] marked this conversation as resolved.
with:
bot_command: pr_reopen
secrets:
OPENWISP_BOT_APP_ID: ${{ secrets.OPENWISP_BOT_APP_ID }}
OPENWISP_BOT_PRIVATE_KEY: ${{ secrets.OPENWISP_BOT_PRIVATE_KEY }}
handle-pr-activity:
if: github.event_name == 'issue_comment' && github.event.issue.pull_request && github.event.issue.user.login == github.event.comment.user.login
uses: openwisp/openwisp-utils/.github/workflows/reusable-bot-autoassign.yml@master
Comment thread
coderabbitai[bot] marked this conversation as resolved.
with:
bot_command: pr_reopen
secrets:
OPENWISP_BOT_APP_ID: ${{ secrets.OPENWISP_BOT_APP_ID }}
OPENWISP_BOT_PRIVATE_KEY: ${{ secrets.OPENWISP_BOT_PRIVATE_KEY }}
20 changes: 20 additions & 0 deletions .github/workflows/bot-autoassign-stale-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Stale PR Management

Check failure on line 1 in .github/workflows/bot-autoassign-stale-pr.yml

View workflow job for this annotation

GitHub Actions / Build debian11

yaml[document-start]

Missing document start "---"

Check failure on line 1 in .github/workflows/bot-autoassign-stale-pr.yml

View workflow job for this annotation

GitHub Actions / Build ubuntu2204

yaml[document-start]

Missing document start "---"

Check failure on line 1 in .github/workflows/bot-autoassign-stale-pr.yml

View workflow job for this annotation

GitHub Actions / Build debian13

yaml[document-start]

Missing document start "---"

Check failure on line 1 in .github/workflows/bot-autoassign-stale-pr.yml

View workflow job for this annotation

GitHub Actions / Build debian12

yaml[document-start]

Missing document start "---"

Check failure on line 1 in .github/workflows/bot-autoassign-stale-pr.yml

View workflow job for this annotation

GitHub Actions / Build ubuntu2404

yaml[document-start]

Missing document start "---"
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
permissions:
contents: read
issues: write
pull-requests: write
concurrency:
group: bot-autoassign-stale-pr-${{ github.repository }}
cancel-in-progress: false
jobs:
manage-stale-prs-python:
uses: openwisp/openwisp-utils/.github/workflows/reusable-bot-autoassign.yml@master
Comment thread
coderabbitai[bot] marked this conversation as resolved.
with:
bot_command: stale_pr
secrets:
OPENWISP_BOT_APP_ID: ${{ secrets.OPENWISP_BOT_APP_ID }}
OPENWISP_BOT_PRIVATE_KEY: ${{ secrets.OPENWISP_BOT_PRIVATE_KEY }}
Loading