Repository navigation
fix(ci): use the built-in token for the pull request title check - #52
polylane[bot] wants to merge 1 commit into
Conversation
Co-authored-by: polylane[bot] <277585245+polylane[bot]@users.noreply.github.com>
|
Note Production impact unlikely. Documentation, test, or CI-only change; nothing that runs in production is affected. Polylane analysed Rate this review: 👍 helpful · 👎 not helpful · 😕 confusing |
|
This pull request is waiting on a decision: merge it if the change is still wanted, or close it if the fix is no longer needed. Either one settles it. It was opened on 2026-10-14 and has had no new activity for a week. If nothing happens on it within a week, Polylane closes it and keeps the branch, so reopening it brings the change back exactly as it stands. @matanyall, the change touches what you own, so the review is with you. |
|
This pull request is closing without a merge, and nothing is lost: the branch It was opened on 2026-10-14, Polylane reminded the maintainers about it on 2026-10-24, and nothing has happened on it since. @matanyall, you were asked to review this pull request; reopening it puts it back on your list. |
Fixes: Org-wide SoferAI bot App private key is reachable from pull_request workflows in 8 repos via a shared module
The pull request title check ran with the organisation's shared bot application key, and GitHub takes the definition of a pull request workflow from the branch under review. Anyone able to push a branch could read a key the bot uses to write across the organisation. The check now uses the repository's built-in token, which only reads.
Detection evidence
Affected:
int_ead7055cc001si0oyduvvg3jWhy this fix
This check only reads the pull request title, so the shared bot application key was privilege it never used inside a job whose definition a branch author controls. All 100 sampled runs of this check in SoferAi/app were pull request events and 96 of those branches belonged to unattended bots. The same form already runs successfully in SoferAi/torah-dl, where the last 30 runs passed. The shared module that renders this file is corrected in a separate pull request. Rotating the application key and narrowing its installation scope stay owner actions.
Fix walkthrough
Watch the fix explained (2:28). Recorded for commit
1a5c6a54511ff7886d7ce421c718eeda92d06342.Out of scope
Causal chain
1 file changed (+4/-7)
.github/workflows/conventional-pr.yaml: modified, +4/-7Generated by Polylane. You can ask follow-ups by mentioning @polylane in a comment.