Dashboardpublishauto-approve.yml label actor

auto-approve.yml label actor

Category: gotcha
Confidence: 1.00
ID: 01a082b9-4282-7b1f-bb2c-cbe651fe4b52
Project ID: ac098440-8723-4582-9021-39e07a608100
Cross-project: No
Recalled in other projects: 1
Source session: 0HhxYmKC9XzCymoiO
Created: 2026-08-27 15:54:54
Updated: 2026-09-08 20:32:54

Cross-Project Recalls

ProjectHitsLast recalled
institutional-transition-lab 1 8d ago

Content

Trap: treating the sentry-internal-app[bot] accepted-label actor as the trusted opener looks reasonable because the Internal App has label permission, but GitHub records the app—not getsantry[bot] or sentry-release-bot[bot]—and app access proves no allowlisted request path. Fix: auto-approve.yml posts a github-actions[bot] request-bound proof before the Internal App adds accepted; authorize-approval.js accepts that label only when the proof matches the live request and allowlisted opener. Test the negative boundary: an Internal App label without its matching proof must be rejected.

Move to: