Skip to content

chore: rename auto-assign workflows with bot-autoassign prefix#69

Merged
Eeshu-Yadav merged 5 commits intomasterfrom
chore/rename-autoassign-workflows
Mar 2, 2026
Merged

chore: rename auto-assign workflows with bot-autoassign prefix#69
Eeshu-Yadav merged 5 commits intomasterfrom
chore/rename-autoassign-workflows

Conversation

@Eeshu-Yadav
Copy link
Collaborator

Summary

Rename auto-assign workflow files to follow the new bot-autoassign- naming convention, as discussed in openwisp/openwisp-utils#572.

Changes

File Renames

Old Name New Name
issue-assignment.yml bot-autoassign-issue.yml
pr-issue-link.yml bot-autoassign-pr-issue-link.yml
pr-reopen-reassign.yml bot-autoassign-pr-reopen.yml
stale-pr-management.yml bot-autoassign-stale-pr.yml

Internal Updates

  • Sparse-checkout path: openwisp_utils/bots.github/actions/bot-autoassign
  • Script execution path: python -m openwisp_utils.bots.auto_assignpython .github/actions/bot-autoassign/__main__.py
  • Python version: 3.9 → 3.12

These changes align the bot-testing-ground workflows with the updated structure in openwisp-utils PR #572.

Renamed workflow files to follow the new naming convention:
- issue-assignment.yml → bot-autoassign-issue.yml
- pr-issue-link.yml → bot-autoassign-pr-issue-link.yml
- pr-reopen-reassign.yml → bot-autoassign-pr-reopen.yml
- stale-pr-management.yml → bot-autoassign-stale-pr.yml

Updated internal references:
- sparse-checkout path: .github/actions/bot-autoassign
- script path: .github/actions/bot-autoassign/__main__.py
- Python version: 3.12
Copilot AI review requested due to automatic review settings March 2, 2026 07:21
Copy link

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

Updates the repository’s auto-assign GitHub Actions workflows to follow the bot-autoassign- naming/layout convention and to execute the bot code from its new location (as aligned with openwisp-utils PR #572).

Changes:

  • Update sparse-checkout target to .github/actions/bot-autoassign.
  • Switch bot execution from python -m openwisp_utils.bots.auto_assign ... to python .github/actions/bot-autoassign/__main__.py ....
  • Bump workflow Python runtime from 3.9 to 3.12.

Reviewed changes

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

File Description
.github/workflows/bot-autoassign-stale-pr.yml Uses new sparse-checkout/action path, runs bot via __main__.py, and updates Python version.
.github/workflows/bot-autoassign-pr-reopen.yml Same updates across both jobs in the workflow (reopen + issue_comment path).
.github/workflows/bot-autoassign-pr-issue-link.yml Points sparse-checkout and execution to the new bot action location and bumps Python.
.github/workflows/bot-autoassign-issue.yml Points sparse-checkout and execution to the new bot action location and bumps Python.

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

@Eeshu-Yadav Eeshu-Yadav merged commit f333d90 into master Mar 2, 2026
4 of 5 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.

2 participants