Skip to content

Commit c0024b1

Browse files
committed
ci(hypatia-scan): wire FLEET_PUSH_TOKEN to its own secret
The hypatia-scan workflow's submit-findings step was sourcing the FLEET_PUSH_TOKEN env var from HYPATIA_DISPATCH_PAT — leaving the dedicated FLEET_PUSH_TOKEN secret unused. Wire it through directly so the token finally has the role its scope was provisioned for. FLEET_DISPATCH_TOKEN still sources HYPATIA_DISPATCH_PAT pending a decision on whether that role gets its own dedicated PAT.
1 parent 6231b97 commit c0024b1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/hypatia-scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
if: steps.scan.outputs.findings_count > 0
8787
env:
8888
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
89-
FLEET_PUSH_TOKEN: ${{ secrets.HYPATIA_DISPATCH_PAT }}
89+
FLEET_PUSH_TOKEN: ${{ secrets.FLEET_PUSH_TOKEN }}
9090
FLEET_DISPATCH_TOKEN: ${{ secrets.HYPATIA_DISPATCH_PAT }}
9191
GITHUB_REPOSITORY: ${{ github.repository }}
9292
GITHUB_SHA: ${{ github.sha }}

0 commit comments

Comments
 (0)