Dashboardpublishci-poller-dispatch repository secrets

ci-poller-dispatch repository secrets

Category: gotcha
Confidence: 1.00
ID: 01a082db-d8f8-718f-837b-a2f3b4c3ddbb
Project ID: ac098440-8723-4582-9021-39e07a608100
Cross-project: No
Recalled in other projects: 0
Source session: 15DLBkeeMQ5MaUxaS
Created: 2026-09-08 21:10:41
Updated: 2026-09-08 21:10:41

Content

Trap: permissions: {} on .github/workflows/ci-poller-dispatch.yml looks sufficient because it removes GITHUB_TOKEN, but repository secrets remain injectable into caller-selected workflow YAML. Fix: the relay must never use repository secrets; use only production environment secrets after migrating values there, with the environment restricted to main. This preserves required workflow_dispatch recovery without letting an arbitrary ref expose privileged credentials.

Move to: