Skip to content

Commit dce48e1

Browse files
Pigbibicodex
andauthored
fix: reuse org token for snapshot artifact access (#89)
Co-authored-by: Codex <noreply@openai.com>
1 parent 8e0140d commit dce48e1

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/drift-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Download latest trusted lifecycle inputs
4545
id: snapshot-input
4646
env:
47-
GH_TOKEN: ${{ secrets.SNAPSHOT_REPOSITORY_TOKEN }}
47+
GH_TOKEN: ${{ secrets.SNAPSHOT_REPOSITORY_TOKEN || secrets.QSL_REPO_SYNC_TOKEN }}
4848
INPUT_ROOT: ${{ runner.temp }}/crypto-lifecycle-inputs
4949
run: |
5050
set -euo pipefail
@@ -212,4 +212,4 @@ jobs:
212212
lifecycle_preflight_artifact: lifecycle-preflight-${{ github.run_id }}-${{ github.run_attempt }}
213213
secrets:
214214
codex_audit_service_url: ${{ secrets.CODEX_AUDIT_SERVICE_URL }}
215-
snapshot_repository_token: ${{ secrets.SNAPSHOT_REPOSITORY_TOKEN }}
215+
snapshot_repository_token: ${{ secrets.SNAPSHOT_REPOSITORY_TOKEN || secrets.QSL_REPO_SYNC_TOKEN }}

tests/test_drift_workflow_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ def test_drift_workflow_wires_real_pipeline_inputs_and_preflight_bundle() -> Non
3535
assert "snapshot_checkout_path: external/CryptoLivePoolPipelines" in workflow
3636
assert "lifecycle_preflight_artifact: lifecycle-preflight-${{ github.run_id }}-${{ github.run_attempt }}" in workflow
3737
assert "codex_audit_service_url: ${{ secrets.CODEX_AUDIT_SERVICE_URL }}" in workflow
38-
assert "snapshot_repository_token: ${{ secrets.SNAPSHOT_REPOSITORY_TOKEN }}" in workflow
38+
assert "secrets.SNAPSHOT_REPOSITORY_TOKEN || secrets.QSL_REPO_SYNC_TOKEN" in workflow

0 commit comments

Comments
 (0)