-
-
Notifications
You must be signed in to change notification settings - Fork 18
[ci] Enabled issue autoassignment bots #105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| 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
|
||
| 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 | ||
| with: | ||
| bot_command: issue_assignment | ||
| secrets: | ||
| OPENWISP_BOT_APP_ID: ${{ secrets.OPENWISP_BOT_APP_ID }} | ||
| OPENWISP_BOT_PRIVATE_KEY: ${{ secrets.OPENWISP_BOT_PRIVATE_KEY }} | ||
| 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
|
||
| 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 | ||
|
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 }} | ||
| 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
|
||
| 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 | ||
|
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 | ||
|
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 }} | ||
| 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
|
||
| 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 | ||
|
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 }} | ||
Uh oh!
There was an error while loading. Please reload this page.