From 7bdfa38dee6f5df6cffadac3ccbe0cd3b58a69d9 Mon Sep 17 00:00:00 2001 From: Asterios Raptis Date: Fri, 20 Nov 2026 18:05:54 +0100 Subject: [PATCH] ci: every action at the newest release RL-127 lets in, pinned by its commit Every uses line is pinned by its full commit SHA with the version as a comment, at the newest release that is at least 14 days old (RL-127), as named by the rollout inventory of 2026-11-20. The one exception is gradle/actions: v6 is excluded and every step goes to v5.0.2 (0723195), because v6 bundles the proprietary gradle-actions-caching component and the runner downloads the whole repository. Major steps and what they change for this repository's steps: - actions/checkout to v7.0.1: v4 and v5 changes (Node 20, then Node 24) and v6 (credentials kept in a file under the runner temp dir, no longer in .git/config) do not touch our steps: they pass at most fetch-depth or ref; v7 blocks checking out a fork PR head in pull_request_target and workflow_run, which we do not do (release-freeze checks out the base branch). - actions/setup-java to v6.2.0: Node 24 (v5) and v6 (Azul metadata API for Zulu, ESM, jdk-file rename) do not touch us: we use distribution temurin and java-version only. - codecov/codecov-action to v7.1.1: v4 to v7 changes (CLI uploader, file to files, Node 24, new GPG key account) do not touch our inputs (token, and files or disable_search where set). Co-Authored-By: Claude Opus 5.5 --- .github/workflows/dependency-submission.yml | 8 +++++--- .github/workflows/gradle.yml | 11 +++++++---- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/.github/workflows/dependency-submission.yml b/.github/workflows/dependency-submission.yml index 338bddb..44e70c0 100644 --- a/.github/workflows/dependency-submission.yml +++ b/.github/workflows/dependency-submission.yml @@ -23,13 +23,15 @@ jobs: - name: Checkout sources uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Setup Java - uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0 + uses: actions/setup-java@77dd5b2ce225ea11469928ac317850245a74ae78 # v6.2.0 with: java-version: '17' distribution: 'temurin' - name: Submit the dependency graph - # 6.4.1 fixes GHSA-chpw-2mqm-95cc, which concerns the two-workflow download-and-submit setup - uses: gradle/actions/dependency-submission@8da46b539cd8fe6ab27ca75128919a18d757604c # v6.4.1 + # v5.0.2, not v6: from v6 the action bundles a proprietary caching component (the maintainer's decision F2, 2026-11-20). + # v5.0.2 lies in the range of GHSA-chpw-2mqm-95cc (fixed in 6.4.1), which affects only the two-workflow + # download-and-submit setup; this workflow generates and submits in one job. Do not switch to download-and-submit. + uses: gradle/actions/dependency-submission@0723195856401067f7a2779048b490ace7a47d7c # v5.0.2 env: DEPENDENCY_GRAPH_RUNTIME_INCLUDE_CONFIGURATIONS: '^runtimeClasspath$' with: diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 6a04889..4870326 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -20,19 +20,22 @@ jobs: steps: - name: Checkout sources - uses: actions/checkout@v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Setup Java - uses: actions/setup-java@v4 + uses: actions/setup-java@77dd5b2ce225ea11469928ac317850245a74ae78 # v6.2.0 with: java-version: '17' distribution: 'temurin' - name: Setup Gradle - uses: gradle/actions/setup-gradle@v3 + # v5.0.2, not v6: from v6 the action bundles a proprietary caching component (the maintainer's decision F2, 2026-11-20). + # v5.0.2 lies in the range of GHSA-chpw-2mqm-95cc (fixed in 6.4.1), which affects only the two-workflow + # download-and-submit setup; this workflow generates and submits in one job. Do not switch to download-and-submit. + uses: gradle/actions/setup-gradle@0723195856401067f7a2779048b490ace7a47d7c # v5.0.2 - name: Execute Gradle build run: ./gradlew build env: ossrhUsername: ${{secrets.OSSRHUSERNAME}} ossrhPassword: ${{secrets.OSSRHPASSWORD}} - - uses: codecov/codecov-action@v4 + - uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1 with: token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos