Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/auto_assign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Auto-assign configuration for kentaro-m/auto-assign-action
addReviewers: true
addAssignees: author

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

addAssignees: author maps to POST /issues/{issue_number}/assignees, which GitHub's endpoint→permission list assigns to the issues permission rather than pull-requests. This job grants only pull-requests: write, so the assignee call is rejected with Resource not accessible by integration — the action logs it as a warning and the job still passes, so the author-assignment half silently never happens. Add issues: write to the job permissions: block if the assignee behavior is wanted.

reviewers:
- carochacs
numberOfReviewers: 0
16 changes: 16 additions & 0 deletions .github/workflows/auto-assign-reviewers.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Auto Assign Action

on:
pull_request:
types: [opened, reopened, ready_for_review]

jobs:
assign-reviewers:
runs-on: ubuntu-latest
permissions:
contents: read
issues: write
pull-requests: write
steps:
- name: Auto Assign Action
uses: kentaro-m/auto-assign-action@v2.0.2