Skip to content

Fix PR build workflow permissions for signing - #5087

Merged
sairon merged 1 commit into
devfrom
add-build-pr-id-token-perms
Oct 12, 2026
Merged

sairon merged 1 commit into
devfrom
add-build-pr-id-token-perms

Conversation

@sairon

@sairon sairon commented Oct 12, 2026 •

Copy link
Copy Markdown
Member

Allow id-token write access when calling the reusable build workflow. GitHub validates the signing job's permissions even when the job is skipped, so PR builds fail validation without this permission.

Summary by CodeRabbit

  • Chores
    • Updated build automation permissions to support identity-based access during pull request builds.
    • No changes to app features or behavior are included in this update.

Allow id-token write access when calling the reusable build workflow.
GitHub validates the signing job's permissions even when the job is
skipped, so PR builds fail validation without this permission.
@sairon
sairon requested a review from agners October 12, 2026 15:55
@sairon sairon added the build Build and CI related issues label Oct 12, 2026
@coderabbitai

coderabbitai Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 816919c1-0306-49d8-ae67-28dee71ab7d2

📥 Commits

Reviewing files that changed from the base of the PR and between 564ae29 and aedd297.


📒 Files selected for processing (1)
  • .github/workflows/build-pr.yaml

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.



📝 Walkthrough

Walkthrough

The build job in .github/workflows/build-pr.yaml now requests id-token: write permission.

Changes

Build workflow permission

Layer / File(s) Summary
Build job permission
.github/workflows/build-pr.yaml
The build job adds id-token: write to its permissions.

Priority: ➖ Normal

Estimated code review effort: 1 (Trivial) | ~2 minutes

Change: Bug fix


Merge Risk: ⚪ Minimal · up to aedd2

The added permission supports reusable-workflow validation, but PR build steps cannot request OIDC tokens. No actionable merge-blocking risk remains.

Pre-merge checks | Passed 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly describes the main change: updating PR build workflow permissions to support signing.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR


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

A rabbit hops beside the build,
A token permission joins the field.
The workflow gains one written right,
Then bounds along beneath the night.
Its little ears twitch at the sight.

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

@sairon
sairon merged commit c9e8024 into dev Oct 12, 2026
6 checks passed
@sairon
sairon deleted the add-build-pr-id-token-perms branch October 12, 2026 18:06
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

build Build and CI related issues cla-signed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants