diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 407df0c9..86be8465 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,8 +35,8 @@ jobs: selfhost: ${{ steps.filter.outputs.selfhost }} app: ${{ steps.filter.outputs.app }} steps: - - uses: actions/checkout@v4 - - uses: dorny/paths-filter@0e4a8c6effa4802afeda77dc8d303f8176d7dfad # v3.0.4 + - uses: actions/checkout@v7 + - uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.3 id: filter with: filters: | @@ -59,7 +59,7 @@ jobs: name: Secret scan (gitleaks) runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 # The same scan the ship's public-tree gate runs: the working tree, with the # repository's .gitleaks.toml allowlist. - name: gitleaks @@ -71,7 +71,7 @@ jobs: name: Workflow lint (actionlint) runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: actionlint run: docker run --rm -v "$PWD:/repo:ro" -w /repo rhysd/actionlint:1.7.7 -color @@ -79,8 +79,8 @@ jobs: name: Release tooling and changelog runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v7 + - uses: actions/setup-node@v7 with: node-version: 22.13.0 - name: Release script and changelog tests @@ -94,8 +94,8 @@ jobs: if: needs.changes.outputs.installer == 'true' runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v7 + - uses: actions/setup-node@v7 with: node-version: 22.13.0 cache: npm @@ -110,8 +110,8 @@ jobs: if: needs.changes.outputs.mcp == 'true' runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v7 + - uses: actions/setup-node@v7 with: node-version: 22.13.0 cache: npm @@ -129,8 +129,8 @@ jobs: if: needs.changes.outputs.selfhost == 'true' runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v7 + - uses: actions/setup-node@v7 with: node-version: 22.13.0 - name: Self-host tests @@ -142,10 +142,10 @@ jobs: if: needs.changes.outputs.app == 'true' && github.event_name == 'pull_request' runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: fetch-depth: 0 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v7 with: node-version: 22.13.0 # Lints only the JavaScript files this pull request changes, with the app's own diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml index c2901223..56e9f759 100644 --- a/.github/workflows/labels.yml +++ b/.github/workflows/labels.yml @@ -20,8 +20,8 @@ jobs: contents: read issues: write steps: - - uses: actions/checkout@v4 - - uses: crazy-max/ghaction-github-labeler@24d110aa46a59976b8a7f35518cb7f14f434c916 # v5.3.0 + - uses: actions/checkout@v7 + - uses: crazy-max/ghaction-github-labeler@548a7c3603594ec17c819e1239f281a3b801ab4d # v6.0.0 with: github-token: ${{ github.token }} yaml-file: .github/labels.yml diff --git a/.github/workflows/port-candidate.yml b/.github/workflows/port-candidate.yml index 14eaa4e3..5a5db03c 100644 --- a/.github/workflows/port-candidate.yml +++ b/.github/workflows/port-candidate.yml @@ -25,7 +25,7 @@ jobs: outputs: registry: ${{ steps.source.outputs.registry }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - id: source name: Detect immutable registry dependency run: | @@ -50,8 +50,8 @@ jobs: SLATEBOX_PORT_PLATFORM: linux/amd64 SLATEBOX_PORT_IMAGE: slatebox-port:registry-candidate steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v7 + - uses: actions/setup-node@v7 with: node-version: 26.13.1 cache: npm diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 00e3e728..d80870bf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -52,12 +52,12 @@ jobs: # default branch, which also covers tags that predate this workflow. # Pinned by commit, and no git credentials left behind: selfhost-image.yml calls this with # contents: write as part of the signed publish chain (gh uses GH_TOKEN, never git's). - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: ref: ${{ github.event_name == 'workflow_dispatch' && github.event.repository.default_branch || github.ref }} fetch-depth: 0 persist-credentials: false - - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 + - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: node-version: 22.13.0 diff --git a/.github/workflows/selfhost-image.yml b/.github/workflows/selfhost-image.yml index bdab5261..5c6c9255 100644 --- a/.github/workflows/selfhost-image.yml +++ b/.github/workflows/selfhost-image.yml @@ -61,7 +61,7 @@ jobs: engine_repo: ${{ steps.what.outputs.engine_repo }} relay_repo: ${{ steps.what.outputs.relay_repo }} steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: ref: refs/tags/${{ env.TAG }} fetch-depth: 0 @@ -108,25 +108,25 @@ jobs: contents: read packages: write steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: ref: ${{ needs.resolve.outputs.commit }} path: app fetch-depth: 1 persist-credentials: false - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: repository: Slatebox/slateboxjs ref: ${{ needs.resolve.outputs.engine }} path: engine persist-credentials: false - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: repository: Slatebox/y-websocket ref: ${{ needs.resolve.outputs.relay }} path: relay persist-credentials: false - - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 + - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: node-version: 22.13.0 - name: Stage the build context (committed files only) @@ -138,15 +138,15 @@ jobs: mkdir "$RUNNER_TEMP/stage" app/self-host/stage-image.sh "$RUNNER_TEMP/stage" app HEAD engine HEAD relay HEAD test ! -e "$RUNNER_TEMP/stage/self-host/rootfs/opt/slatebox/release-keys.d" - - uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1 - - uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0 + - uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1 + - uses: docker/login-action@8aa5831fb8d48d8f76594c7ddde61ae58019f550 # v4.8.0 if: env.PUBLISH == 'true' with: registry: ghcr.io username: ${{ github.actor }} password: ${{ github.token }} - name: Build (and load for the smoke test) - uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0 + uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0 with: context: ${{ runner.temp }}/stage file: ${{ runner.temp }}/stage/self-host/Dockerfile @@ -176,7 +176,7 @@ jobs: - name: Push by digest id: push if: env.PUBLISH == 'true' - uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0 + uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0 with: context: ${{ runner.temp }}/stage file: ${{ runner.temp }}/stage/self-host/Dockerfile @@ -193,7 +193,7 @@ jobs: run: | mkdir -p "$RUNNER_TEMP/digests" echo "${{ steps.push.outputs.digest }}" > "$RUNNER_TEMP/digests/${{ matrix.arch }}" - - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 + - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 if: env.PUBLISH == 'true' with: name: digest-${{ matrix.arch }} @@ -217,13 +217,13 @@ jobs: env: VERSION: ${{ needs.resolve.outputs.version }} steps: - - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0 + - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 with: pattern: digest-* path: ${{ runner.temp }}/digests merge-multiple: true - - uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1 - - uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0 + - uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1 + - uses: docker/login-action@8aa5831fb8d48d8f76594c7ddde61ae58019f550 # v4.8.0 with: registry: ghcr.io username: ${{ github.actor }} @@ -238,10 +238,10 @@ jobs: platforms=$(docker buildx imagetools inspect "$REPOSITORY@$index" --raw | jq -r '[.manifests[] | select(.platform.os != "unknown") | "\(.platform.os)/\(.platform.architecture)"] | sort | join(",")') [ "$platforms" = "linux/amd64,linux/arm64" ] || { echo "::error::the index holds $platforms"; exit 1; } { echo "index=$index"; echo "amd64=$amd64"; echo "arm64=$arm64"; } >> "$GITHUB_OUTPUT" - - uses: sigstore/cosign-installer@d58896d6a1865668819e1d91763c7751a165e159 # v3.9.2 + - uses: sigstore/cosign-installer@756fe2d284c7292c4e9b62c8a28f1e5629c59532 # v4.1.3 - name: Sign (cosign, keyless) run: cosign sign --yes --recursive "$REPOSITORY@${{ steps.index.outputs.index }}" - - uses: actions/attest-build-provenance@e8998f949152b193b063cb0ec769d69d929409be # v2.4.0 + - uses: actions/attest-build-provenance@4d101475d8b20a2381f78447822ac1eab6504dd8 # v4.2.2 with: subject-name: ${{ env.REPOSITORY }} subject-digest: ${{ steps.index.outputs.index }} @@ -275,12 +275,12 @@ jobs: SLATEBOX_RELEASE_KEY_ID: ${{ vars.SLATEBOX_RELEASE_KEY_ID }} # The private key is given only to the steps that sign (never to checkout, setup-node or gh). steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: ref: ${{ needs.resolve.outputs.commit }} fetch-depth: 0 persist-credentials: false - - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 + - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: node-version: 22.13.0 - name: The signing key is a production key @@ -326,12 +326,12 @@ jobs: SLATEBOX_RELEASE_KEY_ID: ${{ vars.SLATEBOX_RELEASE_KEY_ID }} BASE: https://github.com/${{ github.repository }}/releases/download steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: ref: ${{ needs.resolve.outputs.commit }} fetch-depth: 0 persist-credentials: false - - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 + - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: node-version: 22.13.0 - name: The feed as it is now, and whether this release is the newest diff --git a/.github/workflows/update-feed-refresh.yml b/.github/workflows/update-feed-refresh.yml index fbeb2b7a..ad2ce936 100644 --- a/.github/workflows/update-feed-refresh.yml +++ b/.github/workflows/update-feed-refresh.yml @@ -36,10 +36,10 @@ jobs: BASE: https://github.com/${{ github.repository }}/releases/download YANK: ${{ inputs.yank }} steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 + - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: node-version: 22.13.0 # The private key only here, never in checkout, setup-node or other steps.