Use Valkeyrie Bot for assign-blog-reviewers workflow#551
Merged
Conversation
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
📝 WalkthroughWalkthroughThe assign-blog-reviewers workflow is changed to generate a GitHub App installation token via ChangesGitHub App Token Integration
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 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/assign-blog-reviewers.yml:
- Around line 9-13: The workflow is missing explicit minimal permissions which
widens blast radius for pull_request_target; update the workflow to declare
explicit least-privilege permissions (e.g., set permissions: {} at the workflow
or the assign-reviewers job level) so the assign-reviewers job (and its
"Generate token" step) does not inherit broad GITHUB_TOKEN rights. Ensure the
permissions declaration appears before jobs and applies to the assign-reviewers
job if you only want to limit that job’s token scope.
- Line 15: Replace the mutable reference "actions/create-github-app-token@v1"
with the repository at a specific immutable commit SHA (the full 40-char commit)
to prevent supply-chain risk; find the "uses:
actions/create-github-app-token@v1" entry and update it to the same pinned-SHA
style used for "actions/github-script" in this workflow so the action is
referenced by its exact commit hash instead of a floating tag.
🪄 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: CHILL
Plan: Pro Plus
Run ID: b49392c4-f5a6-473d-8c4d-912dce4f4bd4
📒 Files selected for processing (1)
.github/workflows/assign-blog-reviewers.yml
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
makubo-aws
approved these changes
May 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The token I was using showed up like it was from me, which does not make sense. Using a new GitHub App so it's not from me!