Skip to content

[ci] Enabled issue autoassignment bots#394

Open
Eeshu-Yadav wants to merge 1 commit intoopenwisp:masterfrom
Eeshu-Yadav:ci/bot-autoassign
Open

[ci] Enabled issue autoassignment bots#394
Eeshu-Yadav wants to merge 1 commit intoopenwisp: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 8, 2026 03:27
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 8, 2026

Review Change Stack

Warning

Rate limit exceeded

@Eeshu-Yadav has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 59 minutes and 16 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: 9f118c0e-785b-4829-bb03-128c80a32a02

📥 Commits

Reviewing files that changed from the base of the PR and between e687fa6 and edb709b.

📒 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.

@Eeshu-Yadav Eeshu-Yadav force-pushed the ci/bot-autoassign branch from a0ced3a to edb709b Compare May 8, 2026 03:28
@kilo-code-bot
Copy link
Copy Markdown

kilo-code-bot Bot commented May 8, 2026

Code Review Summary

Status: No Issues Found | Recommendation: Merge

These workflow files correctly implement GitHub Actions automation by delegating to the centralized reusable workflow in openwisp/openwisp-utils. The implementation follows best practices:

  • Proper permissions: Each workflow has minimal, scoped permissions (contents: read, issues: write, pull-requests: read/write as needed)
  • Concurrency control: Appropriate cancel-in-progress settings to prevent duplicate runs
  • Secure triggers: pull_request_target is used safely - workflows don't execute untrusted code, they only delegate to trusted reusable workflows
  • Correct job conditions: Jobs properly filter events using if conditions
Files Reviewed (4 files)
  • .github/workflows/bot-autoassign-issue.yml - Issue assignment via comment
  • .github/workflows/bot-autoassign-pr-issue-link.yml - PR-issue linking on open/reopen/close
  • .github/workflows/bot-autoassign-pr-reopen.yml - Reassignment on PR reopen
  • .github/workflows/bot-autoassign-stale-pr.yml - Scheduled stale PR management

Reviewed by kimi-k2.5-0127 · 66,957 tokens

@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 99.18%. remained the same — Eeshu-Yadav:ci/bot-autoassign into openwisp:master

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds GitHub Actions workflows to enable OpenWISP’s shared bot automation in this repository (issue auto-assignment, PR↔issue linking, reassignment on PR reopen/activity, and stale PR management) by delegating execution to reusable workflows in openwisp/openwisp-utils.

Changes:

  • Added an issue-comment driven workflow to handle issue assignment requests.
  • Added pull_request_target / issue_comment workflows to manage PR↔issue assignment/linking and reassignment on reopen/activity.
  • Added a scheduled workflow to manage stale PRs.

Reviewed changes

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

File Description
.github/workflows/bot-autoassign-stale-pr.yml Adds scheduled/manual stale PR management via OpenWISP reusable bot workflow.
.github/workflows/bot-autoassign-pr-reopen.yml Adds PR reopen + PR-author activity reassignment automation via reusable bot workflow.
.github/workflows/bot-autoassign-pr-issue-link.yml Adds PR event-driven issue auto-assignment/linking via reusable bot workflow.
.github/workflows/bot-autoassign-issue.yml Adds issue-comment driven assignment bot workflow via reusable bot workflow.

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

Comment thread .github/workflows/bot-autoassign-pr-reopen.yml
Comment thread .github/workflows/bot-autoassign-issue.yml
Comment thread .github/workflows/bot-autoassign-issue.yml
Comment thread .github/workflows/bot-autoassign-pr-issue-link.yml
Comment thread .github/workflows/bot-autoassign-pr-reopen.yml
Comment thread .github/workflows/bot-autoassign-pr-reopen.yml
Comment thread .github/workflows/bot-autoassign-stale-pr.yml
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