Skip to content

ci: scope faraday trust for electron-node-abi-updater[bot] to abi_registry.json - #298

Merged
jkleinsc merged 1 commit into
mainfrom
faraday-path-scope
Aug 3, 2026
Merged

ci: scope faraday trust for electron-node-abi-updater[bot] to abi_registry.json#298
jkleinsc merged 1 commit into
mainfrom
faraday-path-scope

Conversation

@claude

@claude claude Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Requested by Samuel Attard · Slack thread

Before: Faraday grants electron-node-abi-updater[bot]'s PRs the 1-approval trusted tier — with electron-pr-approver[bot] able to stand in for a human review — for any change in this repo.

After: that trusted tier applies only when the PR touches nothing but abi_registry.json. Any PR from the bot that modifies anything else falls back to the standard 2-approval requirement (it is never marked red, just held to the normal bar). The paired approver, electron-pr-approver[bot], is automatically confined by the parent entry's scope — approver objects carry no paths key of their own.

How: this uses the paths key on trusted-bots entries introduced in electron/faraday#15 (deployed 2026-08-03). Evidence for the chosen scope: all 39 of the bot's PRs in this repo modified exactly this one file. The restriction takes effect once merged to the default branch.


Generated by Claude Code

…istry.json

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011iinJt1jcS3sXqvx8b9grM
@MarshallOfSound
MarshallOfSound marked this pull request as ready for review August 3, 2026 05:23
@MarshallOfSound
MarshallOfSound requested review from a team as code owners August 3, 2026 05:23
@jkleinsc
jkleinsc merged commit 88add82 into main Aug 3, 2026
8 checks passed
@jkleinsc
jkleinsc deleted the faraday-path-scope branch August 3, 2026 16:57
@electron-npm-package-publisher

Copy link
Copy Markdown

🎉 This PR is included in version 4.34.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants