Dashboardpublishapproval-authorizer unused autoApproved…

approval-authorizer unused autoApprovedRepositories

Category: gotcha
Confidence: 1.00
ID: 01a082a6-e344-787f-bd73-8d7c9d276f62
Project ID: ac098440-8723-4582-9021-39e07a608100
Cross-project: No
Recalled in other projects: 0
Source session: 15DLBkeeMQ5MaUxaS
Created: 2026-09-08 20:12:50
Updated: 2026-09-08 20:12:50

Content

Trap: retaining autoApprovedRepositories in authorizeApproval() looks harmless after direct bot authorization is removed, because it was previously part of the automated-approval path. It becomes an unused parameter and fails this repository’s ESLint no-unused-vars check. Fix: remove the argument when the Internal App attestation path no longer needs it; do not suppress the lint rule.

Move to: