Skip to content

[ci] Enabled issue autoassignment bots#254

Merged
nemesifier merged 1 commit into
openwisp:masterfrom
Eeshu-Yadav:ci/bot-autoassign
May 13, 2026
Merged

[ci] Enabled issue autoassignment bots#254
nemesifier merged 1 commit into
openwisp:masterfrom
Eeshu-Yadav:ci/bot-autoassign

Conversation

@Eeshu-Yadav

Copy link
Copy Markdown
Contributor

Checklist

  • I have read the OpenWISP Contributing Guidelines.
  • I have manually tested the changes proposed in this pull request.
  • I have written new test cases for new code and/or updated existing tests for changes to existing code.
  • I have updated the documentation.

This PR adds the GitHub Actions workflows to auto-assign issues, manage PR-issue linking, handle PR reopening reassignment, and manage stale PRs.
These workflows check out openwisp/openwisp-utils to run the bot Python scripts, ensuring uniform behavior across all repositories.
Related to the auto-assignment issue bot implementation.

Copilot AI review requested due to automatic review settings May 13, 2026 18:10
@coderabbitai

coderabbitai Bot commented May 13, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@Eeshu-Yadav has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 47 minutes and 18 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: c0ff7759-634f-478d-a1da-e425d585b627

📥 Commits

Reviewing files that changed from the base of the PR and between d948d5d and d87036a.

📒 Files selected for processing (4)
  • .github/workflows/bot-autoassign-issue.yml
  • .github/workflows/bot-autoassign-pr-issue-link.yml
  • .github/workflows/bot-autoassign-pr-reopen.yml
  • .github/workflows/bot-autoassign-stale-pr.yml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@kilo-code-bot

kilo-code-bot Bot commented May 13, 2026

Copy link
Copy Markdown

Code Review Summary

Status: No Issues Found | Recommendation: Merge

All 4 GitHub Actions workflow files are well-designed and follow security best practices:

  • bot-autoassign-issue.yml - Handles issue assignment requests via comments
  • bot-autoassign-pr-issue-link.yml - Links PRs to issues on open/close events
  • bot-autoassign-pr-reopen.yml - Handles PR reopen reassignment
  • bot-autoassign-stale-pr.yml - Daily cron job for stale PR management

Notable design choices:

  • Workflows use a centralized reusable workflow from openwisp/openwisp-utils
  • pull_request_target is used correctly (no untrusted code checkout)
  • Permissions are minimally scoped per workflow's needs
  • Concurrency controls prevent race conditions
  • GitHub App token authentication is properly implemented
Files Reviewed (4 files)
  • .github/workflows/bot-autoassign-issue.yml
  • .github/workflows/bot-autoassign-pr-issue-link.yml
  • .github/workflows/bot-autoassign-pr-reopen.yml
  • .github/workflows/bot-autoassign-stale-pr.yml

Reviewed by kimi-k2.5-0127 · 109,664 tokens

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds GitHub Actions workflows that delegate issue/PR auto-assignment and stale PR handling to reusable OpenWISP bot workflows from openwisp-utils.

Changes:

  • Adds issue comment-based assignment automation for issues.
  • Adds PR lifecycle automation for linked issue assignment and reopen reassignment.
  • Adds scheduled/manual stale PR management.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
.github/workflows/bot-autoassign-issue.yml Runs the issue assignment bot on new issue comments.
.github/workflows/bot-autoassign-pr-issue-link.yml Runs PR-linked issue assignment handling on PR open/reopen/close events.
.github/workflows/bot-autoassign-pr-reopen.yml Runs reassignment logic when PRs are reopened or the PR author comments.
.github/workflows/bot-autoassign-stale-pr.yml Runs scheduled/manual stale PR management.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@nemesifier nemesifier merged commit 1f453e3 into openwisp:master May 13, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants