diff --git a/.github/workflows/bootstrap-binance-account-facts.yml b/.github/workflows/bootstrap-binance-account-facts.yml index 15df7294..fb502d92 100644 --- a/.github/workflows/bootstrap-binance-account-facts.yml +++ b/.github/workflows/bootstrap-binance-account-facts.yml @@ -49,7 +49,7 @@ jobs: persist-credentials: false - name: Setup Node.js - uses: actions/setup-node@v6 + uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6 with: node-version: "22" diff --git a/.github/workflows/compare-console-versions.yml b/.github/workflows/compare-console-versions.yml index 14e65290..18306cb4 100644 --- a/.github/workflows/compare-console-versions.yml +++ b/.github/workflows/compare-console-versions.yml @@ -32,10 +32,10 @@ jobs: timeout-minutes: 5 environment: runtime-strategy-switch steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 with: persist-credentials: false - - uses: actions/setup-node@v6 + - uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6 with: node-version: "22" - name: Compare bounded metadata diff --git a/.github/workflows/configure-ibkr-period-return.yml b/.github/workflows/configure-ibkr-period-return.yml index 2e442c99..9be6e51e 100644 --- a/.github/workflows/configure-ibkr-period-return.yml +++ b/.github/workflows/configure-ibkr-period-return.yml @@ -68,10 +68,10 @@ jobs: OVERWRITE: ${{ inputs.overwrite }} steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 - name: Setup Node.js - uses: actions/setup-node@v6 + uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6 with: node-version: "22" diff --git a/.github/workflows/configure-ibkr-primary-daily-once.yml b/.github/workflows/configure-ibkr-primary-daily-once.yml index 625bdb5c..87ab1704 100644 --- a/.github/workflows/configure-ibkr-primary-daily-once.yml +++ b/.github/workflows/configure-ibkr-primary-daily-once.yml @@ -84,8 +84,8 @@ jobs: fi - name: Require the first execution attempt run: test "$GITHUB_RUN_ATTEMPT" = 1 - - uses: actions/checkout@v6 - - uses: actions/setup-node@v6 + - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 + - uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6 with: node-version: '22' - name: Mint short-lived GitHub App token diff --git a/.github/workflows/console-full-bundle-release.yml b/.github/workflows/console-full-bundle-release.yml index 15bfe6b5..28be3257 100644 --- a/.github/workflows/console-full-bundle-release.yml +++ b/.github/workflows/console-full-bundle-release.yml @@ -54,7 +54,7 @@ jobs: timeout-minutes: 30 steps: - name: Check out release adapter - uses: actions/checkout@v4 + uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 with: persist-credentials: false fetch-depth: 0 @@ -68,21 +68,21 @@ jobs: [[ "$(git rev-parse HEAD)" == "$GITHUB_SHA" ]] [[ "$(git ls-remote origin refs/heads/main | cut -f1)" == "$GITHUB_SHA" ]] - name: Check out fixed frontend snapshot - uses: actions/checkout@v4 + uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 with: ref: 0b5d9527313d719547ef844797b47158c83dea53 path: candidate-snapshot persist-credentials: false - name: Check out fixed recovery snapshot - uses: actions/checkout@v4 + uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 with: ref: 85504dd6ee201fd358f6ea3489742ea5c47afcf8 path: recovery-snapshot persist-credentials: false - - uses: actions/setup-node@v6 + - uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6 with: node-version: '22' - - uses: actions/setup-python@v6 + - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6 with: python-version: '3.12' - name: Test release adapter @@ -126,7 +126,7 @@ jobs: run: node --test tests/console_named_export_surface.test.mjs - name: Preserve verified public bundles for the manual job if: github.event_name == 'workflow_dispatch' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 with: name: console-fixed-complete-bundles path: | @@ -142,14 +142,14 @@ jobs: environment: runtime-strategy-switch steps: - name: Check out release adapter - uses: actions/checkout@v4 + uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 with: persist-credentials: false - - uses: actions/setup-node@v6 + - uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6 with: node-version: '22' - name: Download verified public bundles - uses: actions/download-artifact@v4 + uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4 with: name: console-fixed-complete-bundles path: ${{ runner.temp }}/console-fixed-bundles diff --git a/.github/workflows/console-qrs-backend-candidate-release.yml b/.github/workflows/console-qrs-backend-candidate-release.yml index bb553897..5b2515d0 100644 --- a/.github/workflows/console-qrs-backend-candidate-release.yml +++ b/.github/workflows/console-qrs-backend-candidate-release.yml @@ -23,11 +23,11 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 10 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 with: persist-credentials: false fetch-depth: 0 - - uses: actions/setup-node@v6 + - uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6 with: node-version: '22' - name: Check reviewed control commit and prepare fixed module @@ -44,7 +44,7 @@ jobs: npx --yes wrangler@4.106.0 --version bash scripts/console_m09_offline_bundle.sh "$RUNNER_TEMP/qrs-backend-candidate" "$source" node scripts/console_m09_release.mjs verify-inputs "$RUNNER_TEMP/qrs-backend-candidate/worker.js" - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 with: name: console-fixed-backend-module path: ${{ runner.temp }}/qrs-backend-candidate/worker.js @@ -56,11 +56,11 @@ jobs: timeout-minutes: 5 environment: runtime-strategy-switch steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 with: persist-credentials: false fetch-depth: 0 - - uses: actions/setup-node@v6 + - uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6 with: node-version: '22' - name: Read fixed Worker state @@ -80,11 +80,11 @@ jobs: timeout-minutes: 10 environment: runtime-strategy-switch steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 with: persist-credentials: false fetch-depth: 0 - - uses: actions/setup-node@v6 + - uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6 with: node-version: '22' - name: Build the fixed candidate and check parser availability @@ -118,14 +118,14 @@ jobs: timeout-minutes: 10 environment: runtime-strategy-switch steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 with: persist-credentials: false fetch-depth: 0 - - uses: actions/setup-node@v6 + - uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6 with: node-version: '22' - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4 with: name: console-fixed-backend-module path: ${{ runner.temp }}/qrs-backend-candidate diff --git a/.github/workflows/daily-digest-notify.yml b/.github/workflows/daily-digest-notify.yml index 3dac3429..590dd4de 100644 --- a/.github/workflows/daily-digest-notify.yml +++ b/.github/workflows/daily-digest-notify.yml @@ -127,12 +127,12 @@ jobs: exit 2 fi - - uses: actions/checkout@v6 + - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 if: steps.schedule_slot.outputs.proceed == 'true' with: persist-credentials: false - - uses: actions/setup-python@v6 + - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6 if: steps.schedule_slot.outputs.proceed == 'true' with: python-version: "3.12" @@ -251,14 +251,14 @@ jobs: id: candidates_gcp_auth if: ${{ steps.schedule_slot.outputs.proceed == 'true' && (steps.resend_guard.outputs.proceed == 'true' && steps.candidates.outputs.upstream_allowed == 'true' && env.DIGEST_CANDIDATES_GCS_URI != '') }} continue-on-error: true - uses: google-github-actions/auth@v3 + uses: google-github-actions/auth@7c6bc770dae815cd3e89ee6cdf493a5fab2cc093 # v3 with: workload_identity_provider: ${{ env.DIGEST_CANDIDATES_READER_WIF_PROVIDER }} service_account: ${{ env.DIGEST_CANDIDATES_READER_SERVICE_ACCOUNT }} - name: Set up gcloud for producer candidates (optional) if: ${{ steps.schedule_slot.outputs.proceed == 'true' && (steps.resend_guard.outputs.proceed == 'true' && steps.candidates.outputs.upstream_allowed == 'true' && steps.candidates_gcp_auth.outcome == 'success') }} - uses: google-github-actions/setup-gcloud@v3 + uses: google-github-actions/setup-gcloud@aa5489c8933f4cc7a4f7d45035b3b1440c9c10db # v3 - name: Fetch producer candidates from private store (optional) id: candidates_fetch @@ -391,7 +391,7 @@ jobs: - name: Upload receipt artifact if: ${{ steps.schedule_slot.outputs.proceed == 'true' && (always()) }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 with: name: daily-digest-receipt path: data/output/daily-digest/receipt-public.json @@ -421,10 +421,10 @@ jobs: GH_TOKEN: ${{ secrets.RUNTIME_SETTINGS_GH_TOKEN || github.token }} DIGEST_GH_TOKEN: ${{ secrets.RUNTIME_SETTINGS_GH_TOKEN || github.token }} steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 with: persist-credentials: false - - uses: actions/setup-python@v6 + - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6 with: python-version: "3.12" - name: Read once and print fixed public status diff --git a/.github/workflows/dependabot_auto_merge.yml b/.github/workflows/dependabot_auto_merge.yml index 78d052aa..9e5c48e9 100644 --- a/.github/workflows/dependabot_auto_merge.yml +++ b/.github/workflows/dependabot_auto_merge.yml @@ -5,6 +5,9 @@ name: Auto Merge Dependabot PR workflows: ["Validate"] types: [completed] +permissions: + contents: read + jobs: auto-merge: if: github.event.workflow_run.conclusion == 'success' && startsWith(github.event.workflow_run.head_branch, 'dependabot/') diff --git a/.github/workflows/deploy-strategy-switch-console.yml b/.github/workflows/deploy-strategy-switch-console.yml index 961c661c..632c1ced 100644 --- a/.github/workflows/deploy-strategy-switch-console.yml +++ b/.github/workflows/deploy-strategy-switch-console.yml @@ -111,11 +111,11 @@ jobs: timeout-minutes: 20 steps: - name: Checkout fixed backend release source - uses: actions/checkout@v4 + uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 with: fetch-depth: 0 - name: Setup Node.js for backend release - uses: actions/setup-node@v6 + uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6 with: node-version: "22" - name: Build fixed backend release baseline @@ -170,11 +170,11 @@ jobs: timeout-minutes: 20 steps: - name: Checkout reviewed preflight source - uses: actions/checkout@v4 + uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 with: fetch-depth: 0 - name: Setup Node.js - uses: actions/setup-node@v6 + uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6 with: node-version: "22" - name: Inspect active Worker module without writing @@ -238,7 +238,7 @@ jobs: EXTERNAL_FLOW_ENABLE: ${{ inputs.external_flow_enable }} steps: - name: Setup Node.js - uses: actions/setup-node@v6 + uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6 with: node-version: "22" @@ -695,7 +695,7 @@ jobs: BINANCE_ACCOUNT_FACTS_HISTORY_BINDINGS_JSON: ${{ secrets.BINANCE_ACCOUNT_FACTS_HISTORY_BINDINGS_JSON || '[]' }} steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 with: fetch-depth: 0 @@ -1286,13 +1286,13 @@ jobs: printf 'Reviewed console source: %s tree: %s\n' "$RELEASE_SOURCE_SHA" "$expected_tree" - name: Setup Python - uses: actions/setup-python@v6 + uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6 with: python-version: "3.12" - name: Setup Node.js if: ${{ !inputs.render_and_compare_only }} - uses: actions/setup-node@v6 + uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6 with: node-version: "22" @@ -2572,7 +2572,7 @@ jobs: RELEASE_FRONTEND_ASSETS: ${{ inputs.release_frontend_assets }} steps: - name: Setup Node.js - uses: actions/setup-node@v6 + uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6 with: node-version: "22" diff --git a/.github/workflows/digest-bot-identity.yml b/.github/workflows/digest-bot-identity.yml index e485fafc..30e2b8dc 100644 --- a/.github/workflows/digest-bot-identity.yml +++ b/.github/workflows/digest-bot-identity.yml @@ -25,10 +25,10 @@ jobs: # No new authentication or private vars injection in this diagnostic. DIAGNOSTIC_SM_AUTH_STATUS: unavailable steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 with: persist-credentials: false - - uses: actions/setup-python@v6 + - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6 with: python-version: "3.12" - name: Observe the selected daily sender configuration diff --git a/.github/workflows/digest-store-permission-check.yml b/.github/workflows/digest-store-permission-check.yml index 7d30abb7..aafc51f5 100644 --- a/.github/workflows/digest-store-permission-check.yml +++ b/.github/workflows/digest-store-permission-check.yml @@ -23,7 +23,7 @@ jobs: DIGEST_STORE_PREFIX: digest-candidates/ steps: - name: Checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 - name: Require private infrastructure configuration shell: bash @@ -35,13 +35,13 @@ jobs: [ -n "${DIGEST_STORE_BUCKET:-}" ] || { echo "DIGEST_STORE_BUCKET is required" >&2; exit 2; } - name: Authenticate to Google Cloud - uses: google-github-actions/auth@v3 + uses: google-github-actions/auth@7c6bc770dae815cd3e89ee6cdf493a5fab2cc093 # v3 with: workload_identity_provider: ${{ env.GCP_WORKLOAD_IDENTITY_PROVIDER }} service_account: ${{ env.GCP_WORKLOAD_IDENTITY_SERVICE_ACCOUNT }} - name: Set up gcloud - uses: google-github-actions/setup-gcloud@v3 + uses: google-github-actions/setup-gcloud@aa5489c8933f4cc7a4f7d45035b3b1440c9c10db # v3 - name: Probe digest store permissions (read-only) run: python3 python/scripts/digest_store_permission_check.py diff --git a/.github/workflows/hide-codex-limit-comments.yml b/.github/workflows/hide-codex-limit-comments.yml index ed525b74..24960077 100644 --- a/.github/workflows/hide-codex-limit-comments.yml +++ b/.github/workflows/hide-codex-limit-comments.yml @@ -6,6 +6,9 @@ on: pull_request_review_comment: types: [created] +permissions: + contents: read + jobs: hide-comment: runs-on: ubuntu-latest @@ -23,7 +26,7 @@ jobs: pull-requests: write steps: - name: Minimize comment - uses: actions/github-script@v8 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 with: script: | const mutation = ` diff --git a/.github/workflows/notification-binding-read-check.yml b/.github/workflows/notification-binding-read-check.yml index aa104fd9..2b239ff4 100644 --- a/.github/workflows/notification-binding-read-check.yml +++ b/.github/workflows/notification-binding-read-check.yml @@ -41,17 +41,17 @@ jobs: BINDING_SELECTED_PLATFORM: ${{ inputs.selected_platform }} BINDING_SELECTED_IDENTITY_SHA256: ${{ inputs.selected_identity_sha256 }} steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 with: persist-credentials: false - - uses: actions/setup-python@v6 + - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6 with: python-version: "3.12" - name: Emit anonymous configuration evidence only run: python3 python/scripts/check_notification_binding_read.py --out data/output/daily-digest/notification-binding-read.json - name: Preserve anonymous binding certificate if: ${{ always() }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 with: name: notification-binding-read-${{ github.run_id }} path: data/output/daily-digest/notification-binding-read.json diff --git a/.github/workflows/platform-health-monitor.yml b/.github/workflows/platform-health-monitor.yml index eeb88287..ca0934ae 100644 --- a/.github/workflows/platform-health-monitor.yml +++ b/.github/workflows/platform-health-monitor.yml @@ -24,13 +24,13 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 15 steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 - - uses: actions/setup-python@v6 + - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6 with: python-version: "3.12" - - uses: actions/setup-node@v6 + - uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6 with: node-version: "22" @@ -101,7 +101,7 @@ jobs: - name: Upload platform health report if: always() - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7 with: name: platform-health-report path: data/output/platform-health/ diff --git a/.github/workflows/producer-receiver-contract.yml b/.github/workflows/producer-receiver-contract.yml index 992538fd..59693606 100644 --- a/.github/workflows/producer-receiver-contract.yml +++ b/.github/workflows/producer-receiver-contract.yml @@ -13,11 +13,11 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 10 steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 with: persist-credentials: false - name: Checkout exact IBKR projection source - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 with: repository: QuantStrategyLab/InteractiveBrokersPlatform ref: bd5c1a12d9cd0df8dbd88c1eb8b058b7b849990f @@ -26,7 +26,7 @@ jobs: sparse-checkout: scripts/publish_account_facts_from_report.py sparse-checkout-cone-mode: false - name: Checkout exact Schwab projection source - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 with: repository: QuantStrategyLab/CharlesSchwabPlatform ref: 5b563ad3609eefd9cf431ead82d0f30c586645db @@ -34,10 +34,10 @@ jobs: persist-credentials: false sparse-checkout: scripts/publish_account_facts_from_reports.py sparse-checkout-cone-mode: false - - uses: actions/setup-node@v6 + - uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6 with: node-version: "22" - - uses: actions/setup-python@v6 + - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6 with: python-version: "3.12" - name: Install existing receiver test runtime diff --git a/.github/workflows/publish-m0-research-ledger.yml b/.github/workflows/publish-m0-research-ledger.yml index 345a8907..9ff84c5c 100644 --- a/.github/workflows/publish-m0-research-ledger.yml +++ b/.github/workflows/publish-m0-research-ledger.yml @@ -41,10 +41,10 @@ jobs: QAR_RUN_ID: ${{ inputs.qar_run_id || '' }} steps: - name: Checkout publisher revision - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 - name: Set up Python - uses: actions/setup-python@v6 + uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6 with: python-version: "3.12" @@ -53,7 +53,7 @@ jobs: # it after this job. It is never available to the publishing step below. - name: Create scoped QAR artifact-reader token id: qar-artifact-reader - uses: actions/create-github-app-token@v3 + uses: actions/create-github-app-token@f418cff399f7aef4c2f0ad47e25ca7a6abbdd6fc # v3 with: app-id: ${{ vars.QAR_ARTIFACT_READER_APP_ID }} private-key: ${{ secrets.QAR_ARTIFACT_READER_APP_PRIVATE_KEY }} diff --git a/.github/workflows/qsl_exception_lifecycle.yml b/.github/workflows/qsl_exception_lifecycle.yml index ad03ed1e..139bca9a 100644 --- a/.github/workflows/qsl_exception_lifecycle.yml +++ b/.github/workflows/qsl_exception_lifecycle.yml @@ -27,10 +27,10 @@ jobs: timeout-minutes: 15 steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 - name: Set up Python - uses: actions/setup-python@v6 + uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6 with: python-version: "3.12" diff --git a/.github/workflows/runtime-artifact-evidence-gate.yml b/.github/workflows/runtime-artifact-evidence-gate.yml index 007a61c2..65c51782 100644 --- a/.github/workflows/runtime-artifact-evidence-gate.yml +++ b/.github/workflows/runtime-artifact-evidence-gate.yml @@ -25,9 +25,9 @@ jobs: GCP_WORKLOAD_IDENTITY_PROVIDER: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }} GCP_WORKLOAD_IDENTITY_SERVICE_ACCOUNT: ${{ secrets.GCP_WORKLOAD_IDENTITY_SERVICE_ACCOUNT }} steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 - - uses: actions/setup-python@v6 + - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6 with: python-version: "3.12" @@ -46,7 +46,7 @@ jobs: service_account: ${{ env.GCP_WORKLOAD_IDENTITY_SERVICE_ACCOUNT }} - name: Set up Google Cloud CLI - uses: google-github-actions/setup-gcloud@v3 + uses: google-github-actions/setup-gcloud@aa5489c8933f4cc7a4f7d45035b3b1440c9c10db # v3 with: project_id: ${{ env.GCP_PROJECT_ID }} version: ">= 416.0.0" @@ -93,7 +93,7 @@ jobs: - name: Upload evidence receipt if: always() - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7 with: name: runtime-artifact-evidence-receipt path: data/output/runtime-artifact-evidence/ diff --git a/.github/workflows/sync-market-benchmark.yml b/.github/workflows/sync-market-benchmark.yml index 4e13b4b6..bb676bf7 100644 --- a/.github/workflows/sync-market-benchmark.yml +++ b/.github/workflows/sync-market-benchmark.yml @@ -78,10 +78,10 @@ jobs: fi - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 - name: Setup Node.js - uses: actions/setup-node@v6 + uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6 with: node-version: "22" diff --git a/.github/workflows/sync-schwab-account-facts-binding.yml b/.github/workflows/sync-schwab-account-facts-binding.yml index 6dd77d25..07baa315 100644 --- a/.github/workflows/sync-schwab-account-facts-binding.yml +++ b/.github/workflows/sync-schwab-account-facts-binding.yml @@ -111,10 +111,10 @@ jobs: fi - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 - name: Setup Node.js - uses: actions/setup-node@v6 + uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6 with: node-version: "22" diff --git a/.github/workflows/tail-strategy-health.yml b/.github/workflows/tail-strategy-health.yml index b97c7159..86b4fa43 100644 --- a/.github/workflows/tail-strategy-health.yml +++ b/.github/workflows/tail-strategy-health.yml @@ -14,10 +14,10 @@ jobs: CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID || vars.CLOUDFLARE_ACCOUNT_ID }} steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 with: persist-credentials: false - - uses: actions/setup-node@v6 + - uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6 with: node-version: '22' - name: Observe bounded live tail diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 4bb1a8a5..f0fec7da 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 10 steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 - name: Actionlint uses: docker://rhysd/actionlint:1.7.12 @@ -20,10 +20,10 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 15 steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 with: fetch-depth: 0 - - uses: actions/setup-python@v6 + - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6 with: python-version: "3.12" - name: Install Python packaging tools @@ -84,13 +84,13 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 20 steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 with: fetch-depth: 0 - - uses: actions/setup-node@v6 + - uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6 with: node-version: "22" - - uses: actions/setup-python@v6 + - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6 with: python-version: "3.12" - name: Validate offline synthetic reconciliation console @@ -127,7 +127,7 @@ jobs: bash scripts/console_54e_baseline_build.sh - name: Preserve synthetic QRS 946 bundle evidence if: steps.qrs946_scope.outputs.needed == 'true' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 with: name: qrs946-synthetic-bundle-evidence path: ${{ runner.temp }}/qrs946-bundle-evidence/ @@ -307,7 +307,7 @@ jobs: node --check --input-type=module < web/strategy-switch-console/strategy_profiles_asset.js node --check --input-type=module < web/strategy-switch-console/worker.js - name: Preserve account management UI matrix - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 with: name: management-ui-matrix path: ${{ runner.temp }}/management-ui-matrix/management-ui-matrix.json diff --git a/.github/workflows/verify-binance-account-facts-receiver.yml b/.github/workflows/verify-binance-account-facts-receiver.yml index 855e27db..4a331ca0 100644 --- a/.github/workflows/verify-binance-account-facts-receiver.yml +++ b/.github/workflows/verify-binance-account-facts-receiver.yml @@ -36,7 +36,7 @@ jobs: BINANCE_ACCOUNT_FACTS_SYNC_TOKEN: ${{ secrets.BINANCE_ACCOUNT_FACTS_SYNC_TOKEN }} steps: - name: Checkout exact dispatch revision - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 - name: Require current fixed main revision and credential env: diff --git a/python/tests/test_credential_maintenance_read_check.py b/python/tests/test_credential_maintenance_read_check.py index 2d59403a..437f0425 100644 --- a/python/tests/test_credential_maintenance_read_check.py +++ b/python/tests/test_credential_maintenance_read_check.py @@ -56,7 +56,7 @@ def test_workflow_isolated_from_digest_with_minimum_existing_authority(self): # Freeze the independent maintenance job without changing its authority. self.assertNotIn(' actions: read', digest) self.assertEqual(hashlib.sha256(check.encode()).hexdigest(), - '768c7a6e975c9ad3f7c24d29d6835733d4288f9da4096c5de40605f87432cd8c') + '5428cb38231ab989264297f9d9a16ac3584c7243c12b50bbb2202a39e7ed5915') self.assertIn(" if: ${{ github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main' && inputs.maintenance_read_check == true }}\n", check) self.assertIn(' permissions:\n contents: read\n runs-on:', check) self.assertIn(' environment: runtime-strategy-switch\n', check) @@ -69,10 +69,10 @@ def test_workflow_isolated_from_digest_with_minimum_existing_authority(self): GH_TOKEN: ${{ secrets.RUNTIME_SETTINGS_GH_TOKEN || github.token }} DIGEST_GH_TOKEN: ${{ secrets.RUNTIME_SETTINGS_GH_TOKEN || github.token }} ''') - self.assertEqual(steps, ''' - uses: actions/checkout@v6 + self.assertEqual(steps, ''' - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 with: persist-credentials: false - - uses: actions/setup-python@v6 + - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6 with: python-version: "3.12" - name: Read once and print fixed public status diff --git a/python/tests/test_manual_m0_research_publisher_workflow.py b/python/tests/test_manual_m0_research_publisher_workflow.py index ae670e6e..f4cbf230 100644 --- a/python/tests/test_manual_m0_research_publisher_workflow.py +++ b/python/tests/test_manual_m0_research_publisher_workflow.py @@ -59,7 +59,7 @@ def test_workflow_binds_one_verified_qar_artifact_for_manual_and_scheduled_runs( def test_workflow_uses_only_scoped_app_reader_and_publish_credentials(self): workflow = WORKFLOW.read_text(encoding="utf-8") - self.assertIn("uses: actions/create-github-app-token@v3", workflow) + self.assertIn("uses: actions/create-github-app-token@f418cff399f7aef4c2f0ad47e25ca7a6abbdd6fc", workflow) self.assertIn("id: qar-artifact-reader", workflow) self.assertIn("app-id: ${{ vars.QAR_ARTIFACT_READER_APP_ID }}", workflow) self.assertIn("private-key: ${{ secrets.QAR_ARTIFACT_READER_APP_PRIVATE_KEY }}", workflow) diff --git a/tests/binance_receiver_deploy_acceptance_validation.mjs b/tests/binance_receiver_deploy_acceptance_validation.mjs index 481ce43d..2fd0642a 100644 --- a/tests/binance_receiver_deploy_acceptance_validation.mjs +++ b/tests/binance_receiver_deploy_acceptance_validation.mjs @@ -509,7 +509,7 @@ assert.throws(() => checkOfflineScopes(workflow.replace('CLOUDFLARE_CF_FETCH_ENA const originalActivePreflight = workflowJob(workflow, 'preflight_active_module'); const mutateActivePreflight = (before, after) => workflow.replace(originalActivePreflight, originalActivePreflight.replace(before, after)); assert.throws(() => checkReadOnlyCredentials(mutateActivePreflight('QRS946_QUIET: "true"', 'QRS946_QUIET: "true"\n LEAK: ${{ secrets.CLOUDFLARE_API_TOKEN }}'))); -assert.throws(() => checkReadOnlyCredentials(mutateActivePreflight('uses: actions/checkout@v4', 'uses: actions/checkout@v4\n env:\n LEAK: ${{ secrets.CLOUDFLARE_API_TOKEN }}'))); +assert.throws(() => checkReadOnlyCredentials(mutateActivePreflight('uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4', 'uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4\n env:\n LEAK: ${{ secrets.CLOUDFLARE_API_TOKEN }}'))); // The candidate runtime helper lives in scripts/, outside the historical // tests/*.mjs scan below. Its host metadata switch and Worker egress blocker // must remain explicit in the shared CI and read-only paths. @@ -531,6 +531,6 @@ for (const name of readdirSync(new URL(".", import.meta.url)).filter(name => nam } assert.ok(miniflareTestFiles > 0, "the offline contract covers the existing Miniflare suites"); assert.equal(createHash("sha256").update(manualWorkflow).digest("hex"), - "53831dd8b58be667a244f046aeba7a758961ed812d31494e4ad4468e11045981", + "df47b51bf251442dbf59bd13ef9bfd2d4e4af8d342d6315a41c99806b5e1b438", "manual diagnostic workflow stays byte-for-byte unchanged"); console.log("Binance receiver deployment acceptance: retained single POST/manual GET, exact bounded stability and workflow gates PASS"); diff --git a/tests/console_full_bundle_release.test.mjs b/tests/console_full_bundle_release.test.mjs index 5cb54b0f..6759f9d8 100644 --- a/tests/console_full_bundle_release.test.mjs +++ b/tests/console_full_bundle_release.test.mjs @@ -171,7 +171,7 @@ test('workflow keeps PR validation offline and shares the manual deployment lock assert.doesNotMatch(validation,/secrets\.CLOUDFLARE/); assert.match(release,/if: github\.event_name == 'workflow_dispatch' && github\.ref == 'refs\/heads\/main'/); assert.match(release,/environment: runtime-strategy-switch/); - assert.match(release,/uses: actions\/setup-node@v6\n with:\n node-version: '22'/); + assert.match(release,/uses: actions\/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6\n with:\n node-version: '22'/); assert.match(release,/secrets\.CLOUDFLARE_ACCOUNT_ID \|\| vars\.CLOUDFLARE_ACCOUNT_ID/); assert.equal((yaml.match(/git ls-remote origin refs\/heads\/main/g)||[]).length,3); assert.match(release,/Guard control revision before provider access[\s\S]*Read active state and optionally release[\s\S]*Guard control revision after provider access\n if: always\(\)/);