[ci] Update PR validation workflow - #545
Conversation
📝 WalkthroughWalkthroughThe pull request workflow now runs for Estimated code review effort: 1 (Trivial) | ~2 minutes 🚥 Pre-merge checks | ✅ 8✅ Passed checks (8 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
[WARNING]: Concurrency group change may cancel needed runs
Removing ${{ github.event.action }} from the concurrency group means all events for the same PR now share the same concurrency slot. With cancel-in-progress: true, an edited or ready_for_review event can cancel an in-progress opened/reopened run. If a PR is edited (e.g. description change) while the auto-assignment workflow is still running, the auto-assignment will be cancelled and may never complete.
Reply with @kilocode-bot fix it to have Kilo Code address this issue.
| pull-requests: read | ||
| concurrency: | ||
| group: bot-autoassign-pr-link-${{ github.repository }}-${{ github.event.pull_request.number }}-${{ github.event.action }} | ||
| group: bot-autoassign-pr-link-${{ github.repository }}-${{ github.event.pull_request.number }} |
There was a problem hiding this comment.
[WARNING]: Concurrency group change may cancel needed runs
Removing ${{ github.event.action }} from the concurrency group means all events for the same PR now share the same concurrency slot. With cancel-in-progress: true, an edited or ready_for_review event can cancel an in-progress opened/reopened run. If a PR is edited (e.g. description change) while the auto-assignment workflow is still running, the auto-assignment will be cancelled and may never complete.
Reply with @kilocode-bot fix it to have Kilo Code address this issue.
Code Review SummaryStatus: 1 Issue Found | Recommendation: Address before merge Overview
Issue Details (click to expand)WARNING
Files Reviewed (1 file)
Fix these issues in Kilo Cloud Reviewed by ling-3.0-flash-free · Input: 24.5K · Output: 13.5K · Cached: 282.6K |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/bot-autoassign-pr-issue-link.yml:
- Line 7: Move the workflow-level issues: write permission into the
jobs.auto-assign-issue job’s permissions block, removing it from global workflow
permissions so only that reusable-workflow invocation receives issue-write
access.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: ae112d77-8125-47a3-96b1-bd42e0ab192a
📒 Files selected for processing (1)
.github/workflows/bot-autoassign-pr-issue-link.yml
📜 Review details
⏰ Context from checks skipped due to timeout. (1)
- GitHub Check: Kilo Code Review
🧰 Additional context used
🧠 Learnings (1)
📚 Learning: 2026-04-17T20:35:58.550Z
Learnt from: nemesifier
Repo: openwisp/openwisp-users PR: 496
File: .github/workflows/bot-changelog-runner.yml:27-27
Timestamp: 2026-04-17T20:35:58.550Z
Learning: In the openwisp/openwisp-users repository, do not require pinning GitHub Actions to full commit SHAs for supply-chain security. It’s acceptable to reference actions using mutable major version tags like `actions/download-artifactv4`. When reviewing workflow YAML files, avoid raising comments specifically about SHA pinning for GitHub Actions in this repo.
Applied to files:
.github/workflows/bot-autoassign-pr-issue-link.yml
🪛 zizmor (1.28.0)
.github/workflows/bot-autoassign-pr-issue-link.yml
[error] 7-7: overly broad permissions (excessive-permissions): issues: write is overly broad at the workflow level
(excessive-permissions)
[warning] 7-7: permissions without explanatory comments (undocumented-permissions): needs an explanatory comment
(undocumented-permissions)
🔇 Additional comments (1)
.github/workflows/bot-autoassign-pr-issue-link.yml (1)
4-4: LGTM!Also applies to: 9-10
Checklist
Reference to Existing Issue
Related to openwisp/openwisp-utils#716
Description of Changes
Adds
editedandready_for_reviewpull request events so the shared workflow promptly revalidates changed descriptions. Makes the concurrency key PR-specific so newer events cancel outdated validation runs.Screenshot
N/A. This is a GitHub Actions workflow-only change.