Skip to content

[ci] Enabled issue autoassignment bots#152

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

[ci] Enabled issue autoassignment bots#152
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:15
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 13, 2026

Warning

Rate limit exceeded

@Eeshu-Yadav has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 42 minutes and 47 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: 984adf13-fb3e-491b-bc3d-eed353beff16

📥 Commits

Reviewing files that changed from the base of the PR and between 90a1352 and 18bed6e.

📒 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
Copy link
Copy Markdown

kilo-code-bot Bot commented May 13, 2026

Code Review Summary

Status: No Issues Found | Recommendation: Merge

The PR adds 4 GitHub Actions workflow files to enable auto-assignment bot functionality across the repository. These workflows delegate to reusable workflows in openwisp/openwisp-utils.

What was reviewed:

  • Proper event triggers for each workflow type
  • Appropriate minimal permissions (contents: read, issues: write, pull-requests: write/read)
  • Concurrency controls to prevent race conditions
  • Correct conditional logic for filtering events
  • Proper secret passing to reusable workflows

All workflows follow standard GitHub Actions patterns and security best practices.

Files Reviewed (4 files)
  • .github/workflows/bot-autoassign-issue.yml - Handles issue assignment via comments
  • .github/workflows/bot-autoassign-pr-issue-link.yml - Links PRs to issues on open/reopen/close
  • .github/workflows/bot-autoassign-pr-reopen.yml - Handles PR reopen reassignment
  • .github/workflows/bot-autoassign-stale-pr.yml - Manages stale PRs via scheduled runs

Reviewed by kimi-k2.5-0127 · 114,846 tokens

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

This PR adds GitHub Actions workflows that delegate issue/PR automation to the shared OpenWISP bot workflow in openwisp-utils.

Changes:

  • Adds issue-comment based issue assignment automation.
  • Adds PR issue-link, PR reopen reassignment, and PR activity workflows.
  • Adds scheduled/manual stale PR management workflow.

Reviewed changes

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

File Description
.github/workflows/bot-autoassign-issue.yml Adds issue assignment bot workflow for issue comments.
.github/workflows/bot-autoassign-pr-issue-link.yml Adds PR lifecycle workflow for issue assignment/link handling.
.github/workflows/bot-autoassign-pr-reopen.yml Adds PR reopen and PR author comment reassignment workflow.
.github/workflows/bot-autoassign-stale-pr.yml Adds scheduled/manual stale PR management workflow.
Comments suppressed due to low confidence (1)

.github/workflows/bot-autoassign-pr-reopen.yml:25

  • This reusable workflow is referenced via the mutable master branch while receiving bot app secrets and write permissions. Pin it to an immutable commit SHA (or a reviewed release tag) so future changes in openwisp-utils cannot execute in this repository with these credentials without review.
    uses: openwisp/openwisp-utils/.github/workflows/reusable-bot-autoassign.yml@master

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

Comment thread .github/workflows/bot-autoassign-stale-pr.yml
Comment thread .github/workflows/bot-autoassign-pr-reopen.yml
Comment thread .github/workflows/bot-autoassign-pr-issue-link.yml
Comment thread .github/workflows/bot-autoassign-issue.yml
@nemesifier nemesifier merged commit dd4bf4c into openwisp:master May 13, 2026
14 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