Skip to content

Add auto-assign reviewers workflow - #6

Merged
carochacs merged 5 commits into
mainfrom
claude/auto-assign-reviewers-workflow-q66f32
Aug 13, 2026
Merged

Add auto-assign reviewers workflow#6
carochacs merged 5 commits into
mainfrom
claude/auto-assign-reviewers-workflow-q66f32

Conversation

@carochacs

Copy link
Copy Markdown
Collaborator

Summary

Adds GitHub Actions workflow to automatically assign reviewers to pull requests.

Changes

  • Configures kentaro-m/auto-assign-action@v2.0.2 workflow
  • Automatically assigns carochacs as reviewer on all opened/reopened PRs
  • Sets PR creator as assignee using addAssignees: author
  • Workflow triggers on PR opened/reopened events

Generated by Claude Code

- Configures kentaro-m/auto-assign-action@v2.0.2
- Automatically assigns carochacs as reviewer on all PRs
- Sets PR creator as assignee

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011RQnPatXgn3E1gkQVcQAiD
@coderabbitai

coderabbitai Bot commented Aug 13, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 4ef920b0-0122-4797-9047-bdcc955f712f

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Comment @coderabbitai help to get the list of available commands.

claude added 3 commits August 13, 2026 14:17
Ensures reviewers are assigned when draft PRs are marked as ready for review.
…with: parameters

The kentaro-m/auto-assign-action@v2.0.2 reads config from .github/auto_assign.yml
and doesn't accept the with: parameters we were passing. This commit:
- Creates .github/auto_assign.yml with proper configuration
- Removes invalid with: parameters from workflow
- Workflow now uses config file instead of inline parameters

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

This workflow will fail on every PR run: at v2.0.2 kentaro-m/auto-assign-action loads its configuration exclusively from a YAML file at configuration-path (default .github/auto_assign.yml), which does not exist in this repo. The with: inputs in this PR are never read, so each run ends with the configuration file is not found and no reviewer or assignee is ever set.

Reviewed changes

Added .github/workflows/auto-assign-reviewers.yml: a pull_request (opened/reopened/ready_for_review) workflow that runs kentaro-m/auto-assign-action@v2.0.2 with pull-requests: write, intending to auto-assign carochacs as reviewer and the PR author as assignee.

Pullfrog  | Fix it ➔View workflow run | Using Big Pickle (free) | 𝕏

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ℹ️ Minor suggestions only.

Reviewed changes

The critical finding from the prior review is resolved. Commit 3647142 adds .github/auto_assign.yml with the reviewer/assignee configuration and removes the dead with: block, so kentaro-m/auto-assign-action@v2.0.2 now reads a config file it actually loads (its default configuration-path). The workflow now works as intended: the PR author is set as assignee, and carochacs is requested as reviewer on PRs opened by other contributors.

Pullfrog  | Fix all ➔Fix 👍s ➔View workflow run | Using Big Pickle (free) | 𝕏

Comment thread .github/auto_assign.yml
addReviewers: true
addAssignees: author
reviewers:
- carochacs

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One nuance worth knowing: the action filters the PR author out of reviewer candidates (chooseUsers in the action source), so carochacs is requested as reviewer only on PRs opened by someone else. On self-authored PRs the reviewer auto-assign is a no-op and only the assignee side (addAssignees: author) applies, so the description's claim of assigning carochacs on all opened/reopened PRs holds only for third-party PRs.

@carochacs carochacs self-assigned this Aug 13, 2026
…-assign-action

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011RQnPatXgn3E1gkQVcQAiD

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ℹ️ No new issues found — the permissions fix is correct and complete.

Reviewed changes

  • Fixed the assign-reviewers job permissions: added contents: read and issues: write to the permissions: block alongside the existing pull-requests: write.

Because the job declares an explicit permissions: block, every unlisted scope was previously none, so the workflow would have failed on every run before this commit. Verified against kentaro-m/auto-assign-action@v2.0.2 source: repos.getContent (config fetch at the PR head SHA) requires contents: read, issues.addAssignees (the addAssignees: author step) requires issues: write, and pulls.requestReviewers already had its scope. Nothing is missing and nothing is extra — repo-token defaults to ${{ github.token }}, and no actions/checkout is needed since the config is fetched via the API.

Pullfrog  | Fix it ➔View workflow run | Using Big Pickle (free) | 𝕏

@pullfrog

pullfrog Bot commented Aug 13, 2026

Copy link
Copy Markdown

Review #4928169099 contained 0 comment threads — the review body concluded "No new issues found — the permissions fix is correct and complete." I verified the branch (pr-6) is checked out, the working tree is clean, and both .github/auto_assign.yml and .github/workflows/auto-assign-reviewers.yml match the reviewed state. No code changes were required, so no commit or push was made and no threads needed resolving.

Task list (5/5 completed)
  • Checkout PR Add auto-assign reviewers workflow #6 branch
  • Fetch review comments for review #4928169099
  • Verify and address each comment
  • Quality check, commit, push
  • Reply and resolve threads, report progress

Pullfrog  | View workflow run | via Pullfrog | Using Big Pickle (free) | 𝕏

@carochacs
carochacs merged commit d50e7a9 into main Aug 13, 2026
6 checks passed
@carochacs
carochacs deleted the claude/auto-assign-reviewers-workflow-q66f32 branch August 13, 2026 14:53
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