Skip to content

ci: fix OSCCA pull request permissions - #8515

Open
moreal wants to merge 1 commit into
RustPython:mainfrom
moreal:agent/fix-oscca-pr-permissions
Open

ci: fix OSCCA pull request permissions#8515
moreal wants to merge 1 commit into
RustPython:mainfrom
moreal:agent/fix-oscca-pr-permissions

Conversation

@moreal

@moreal moreal commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Summary

  • grant the OSCCA triage job pull-requests: write instead of issues: write
  • allow the job to apply the existing z-ca-2026 label and assign matching PR authors

Root cause

The workflow mutates pull request metadata but only requested the issues: write token scope. The label request therefore failed with 403 Resource not accessible by integration, and the subsequent assignment request was never reached.

Example failure: https://github.com/RustPython/RustPython/actions/runs/31683869400

Summary by CodeRabbit

  • Chores
    • Updated pull request automation permissions to support labeling and assignment operations correctly.

Assisted-by: Codex:gpt-5.6-sol
@coderabbitai

coderabbitai Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration

Configuration used: Path: .coderabbit.yml

Review profile: CHILL

Plan: Pro Plus

Run ID: fbde27c4-d787-4db6-bba0-07b7f4f6d611

📥 Commits

Reviewing files that changed from the base of the PR and between 0b150ca and 00ca2ac.

📒 Files selected for processing (1)
  • .github/workflows/oscca-pr.yml
 ________________________
< GLaDOS? I can fix her! >
 ------------------------
  \
   \   \
        \ /\
        ( )
      .( o ).
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

❤️ Share

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

@moreal moreal added the skip:ci Skip running the ci label Aug 13, 2026
@moreal moreal self-assigned this Aug 13, 2026
@moreal
moreal requested a review from youknowone August 13, 2026 14:21
@moreal
moreal marked this pull request as ready for review August 13, 2026 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip:ci Skip running the ci

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants