Skip to content

Commit da3de79

Browse files
Pigbibicodex
andcommitted
fix(ci): remove OIDC from preflight job
Co-Authored-By: Codex <noreply@openai.com>
1 parent 57baad8 commit da3de79

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/drift-check.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ jobs:
2020
timeout-minutes: 15
2121
permissions:
2222
contents: read
23-
id-token: write
2423
env:
2524
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
2625
LIFECYCLE_PERFORMANCE_BUCKET: ${{ vars.LIFECYCLE_PERFORMANCE_BUCKET || '' }}

tests/test_drift_workflow_config.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ def test_drift_workflow_wires_pipeline_repo_and_lifecycle_env() -> None:
2020
assert "needs.preflight_backtests.result == 'skipped'" in workflow
2121
assert "head.repo.full_name == github.repository" in workflow
2222
assert "id-token: write" in workflow
23+
preflight = workflow.split(" drift:", maxsplit=1)[0]
24+
assert "id-token: write" not in preflight
2325
assert "uses: QuantStrategyLab/QuantPlatformKit/.github/workflows/reusable-drift-check.yml@17278db4e7aef0007346d853eb308b6c1bd8c859" in workflow
2426
assert "strategy_domain: crypto" in workflow
2527
assert "caller_event_name: ${{ github.event_name }}" in workflow

0 commit comments

Comments
 (0)