[ci] Update PR validation workflow - #494
Conversation
📝 WalkthroughWalkthroughThe pull request workflow now handles Estimated code review effort: 1 (Trivial) | ~2 minutes Caution Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional.
❌ Failed checks (1 error, 1 warning)
✅ Passed checks (6 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 |
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (1 file)
Reviewed by step-3.7-flash · Input: 70.6K · Output: 11K · Cached: 93.4K |
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 issues: write permission from workflow scope into the
auto-assign-issue job, provided the reusable workflow supports job-level
permissions. Confirm the reusable workflow contract and document the specific
issue-assignment write operation it requires, while preventing unrelated future
jobs from inheriting this permission.
🪄 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: 2a6277d9-9e41-41f5-9ad2-36bed14b45ae
📒 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
🪛 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
|
@coderabbitai resolve |
✅ Action performedComments resolved and changes approved. |
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.