From d2759019c47914d389a8cbaf06309725324bedb9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 3 Dec 2026 04:49:15 +0000 Subject: [PATCH 1/2] chore(deps): bump the actions group with 9 updates Bumps the actions group with 9 updates: | Package | From | To | | --- | --- | --- | | [actions/upload-artifact](https://github.com/actions/upload-artifact) | `4` | `7` | | [actions/download-artifact](https://github.com/actions/download-artifact) | `4` | `8` | | [actions/cache](https://github.com/actions/cache) | `4` | `6` | | [github/codeql-action/init](https://github.com/github/codeql-action) | `3.39.5` | `4.39.5` | | [github/codeql-action/analyze](https://github.com/github/codeql-action) | `3.39.5` | `4.39.5` | | [actions/dependency-review-action](https://github.com/actions/dependency-review-action) | `4.9.0` | `5.0.1` | | [actions/configure-pages](https://github.com/actions/configure-pages) | `5` | `6` | | [actions/upload-pages-artifact](https://github.com/actions/upload-pages-artifact) | `3` | `5` | | [actions/deploy-pages](https://github.com/actions/deploy-pages) | `4` | `5` | Updates `actions/upload-artifact` from 4 to 7 - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v4...v7) Updates `actions/download-artifact` from 4 to 8 - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v4...v8) Updates `actions/cache` from 4 to 6 - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v4...v6) Updates `github/codeql-action/init` from 3.39.5 to 4.39.5 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/74c1aea9df7c0f02e9b7bfe4a8935abf2e5e3aa6...915412ff23e8b7659517e607487dbeae018f2934) Updates `github/codeql-action/analyze` from 3.39.5 to 4.39.5 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/74c1aea9df7c0f02e9b7bfe4a8935abf2e5e3aa6...915412ff23e8b7659517e607487dbeae018f2934) Updates `actions/dependency-review-action` from 4.9.0 to 5.0.1 - [Release notes](https://github.com/actions/dependency-review-action/releases) - [Commits](https://github.com/actions/dependency-review-action/compare/2031cfc080254a8a887f58cffee85186f0e49e48...bbc44d14a204704ccc493733616cd1e93a0321ec) Updates `actions/configure-pages` from 5 to 6 - [Release notes](https://github.com/actions/configure-pages/releases) - [Commits](https://github.com/actions/configure-pages/compare/v5...v6) Updates `actions/upload-pages-artifact` from 3 to 5 - [Release notes](https://github.com/actions/upload-pages-artifact/releases) - [Commits](https://github.com/actions/upload-pages-artifact/compare/v3...v5) Updates `actions/deploy-pages` from 4 to 5 - [Release notes](https://github.com/actions/deploy-pages/releases) - [Commits](https://github.com/actions/deploy-pages/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: actions/download-artifact dependency-version: '8' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: actions/cache dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: github/codeql-action/init dependency-version: 4.39.5 dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: github/codeql-action/analyze dependency-version: 4.39.5 dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: actions/dependency-review-action dependency-version: 5.0.1 dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: actions/configure-pages dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: actions/upload-pages-artifact dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: actions/deploy-pages dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 8 ++++---- .github/workflows/codeql.yml | 4 ++-- .github/workflows/dde.yml | 2 +- .github/workflows/dependency-review.yml | 2 +- .github/workflows/pages-deploy.yml | 6 +++--- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 920c6eca..275bc6f1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -109,7 +109,7 @@ jobs: install: "true" - name: Run shard ${{ matrix.shard }}/4 run: node scripts/run-tests.mjs --shard ${{ matrix.shard }}/4 --json shard-22-${{ matrix.shard }}.json - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v7 if: always() with: name: test-shard-22-${{ matrix.shard }} @@ -160,7 +160,7 @@ jobs: with: node-version: 22 install: "false" - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v8 with: pattern: test-shard-* path: shards @@ -182,7 +182,7 @@ jobs: - uses: foundry-rs/foundry-toolchain@dba66c27052e63476d886f22216e119ba7e615bf # v1 with: version: stable - - uses: actions/cache@v4 + - uses: actions/cache@v6 with: path: | ~/.foundry/cache @@ -243,7 +243,7 @@ jobs: - name: Deploy material identity (sha256, printed for the run log) run: sha256sum soroban/commitment-anchor/target/wasm32-unknown-unknown/release/cg_commitment_anchor.wasm - name: Upload deploy material - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: cg-commitment-anchor-wasm path: soroban/commitment-anchor/target/wasm32-unknown-unknown/release/cg_commitment_anchor.wasm diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 1b870423..edacfb0b 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -31,11 +31,11 @@ jobs: with: fetch-depth: 1 persist-credentials: false - - uses: github/codeql-action/init@74c1aea9df7c0f02e9b7bfe4a8935abf2e5e3aa6 # v3 + - uses: github/codeql-action/init@915412ff23e8b7659517e607487dbeae018f2934 # v4.39.5 with: languages: ${{ matrix.language }} build-mode: none queries: security-and-quality - - uses: github/codeql-action/analyze@74c1aea9df7c0f02e9b7bfe4a8935abf2e5e3aa6 # v3 + - uses: github/codeql-action/analyze@915412ff23e8b7659517e607487dbeae018f2934 # v4.39.5 with: category: "/language:${{ matrix.language }}" diff --git a/.github/workflows/dde.yml b/.github/workflows/dde.yml index 87d4a90f..fb0dfca8 100644 --- a/.github/workflows/dde.yml +++ b/.github/workflows/dde.yml @@ -117,7 +117,7 @@ jobs: # a green-shaped run whose reports silently went missing — evidence is # fail-closed, not best-effort. - name: Upload runner reports (SDK + wire) as run artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: dde-runner-reports path: | diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index 03548251..ac8d1ebf 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -42,7 +42,7 @@ jobs: fi - name: Dependency review (high and above) if: steps.graph.outputs.enabled == 'true' - uses: actions/dependency-review-action@2031cfc080254a8a887f58cffee85186f0e49e48 # v4.9.0 + uses: actions/dependency-review-action@bbc44d14a204704ccc493733616cd1e93a0321ec # v5.0.1 with: fail-on-severity: high comment-summary-in-pr: always diff --git a/.github/workflows/pages-deploy.yml b/.github/workflows/pages-deploy.yml index 835fdac2..42c1dfc6 100644 --- a/.github/workflows/pages-deploy.yml +++ b/.github/workflows/pages-deploy.yml @@ -42,8 +42,8 @@ jobs: ref: ${{ inputs.ref || github.ref }} fetch-depth: 1 persist-credentials: false - - uses: actions/configure-pages@v5 - - uses: actions/upload-pages-artifact@v3 + - uses: actions/configure-pages@v6 + - uses: actions/upload-pages-artifact@v5 with: path: docs deploy: @@ -61,7 +61,7 @@ jobs: fetch-depth: 1 persist-credentials: false - id: deployment - uses: actions/deploy-pages@v4 + uses: actions/deploy-pages@v5 - name: Post-deploy smoke (live URL) run: node scripts/smoke-pages.mjs "${{ steps.deployment.outputs.page_url }}" - name: Summary From 4294ab3d32724b3508b2c7387f8a8149e8e4720c Mon Sep 17 00:00:00 2001 From: EslaM-X Date: Thu, 3 Dec 2026 15:12:38 +0000 Subject: [PATCH 2/2] test(ci): derive artifact pin negative control from the workflow --- test/ci/workflow-yaml-contract.test.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/ci/workflow-yaml-contract.test.js b/test/ci/workflow-yaml-contract.test.js index 4a22fb4f..dcd0472c 100644 --- a/test/ci/workflow-yaml-contract.test.js +++ b/test/ci/workflow-yaml-contract.test.js @@ -335,6 +335,9 @@ test("dde artifact contract negative controls: each mutation applies AND bites, // newline-terminated `from` needles would silently never apply — a // control that never lands is a control that proves nothing. const raw = readFileSync(join(REPO, ".github/workflows/dde.yml"), "utf8").replaceAll("\r\n", "\n"); + // Derive the pin from the live workflow so a major bump cannot silently + // retire this control: a stale hard-coded needle would never apply. + const uploader = raw.match(/actions\/upload-artifact@v\d+/)?.[0]; const cases = [ { label: "retention silently drifts off 30", @@ -368,7 +371,7 @@ test("dde artifact contract negative controls: each mutation applies AND bites, }, { label: "the uploader loses its version pin", - from: "actions/upload-artifact@v4", + from: uploader, to: "actions/upload-artifact", expect: /exactly one artifact-upload step/, },