diff --git a/.github/actions/build-base-image/action.yaml b/.github/actions/build-base-image/action.yaml index a35115c0c0ae..e8b6b983ab30 100644 --- a/.github/actions/build-base-image/action.yaml +++ b/.github/actions/build-base-image/action.yaml @@ -47,14 +47,14 @@ runs: run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT - name: Cache BASE image - uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # ratchet:actions/cache@v5.0.3 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 if: inputs.TYPE == '64-bit' || inputs.TYPE == 'clang' with: path: otp_docker_base.tar key: ${{ runner.os }}-${{ hashFiles('.github/dockerfiles/Dockerfile.ubuntu-base', '.github/scripts/build-base-image.sh') }}-${{ steps.date.outputs.date }}-${{ hashFiles('OTP_VERSION') }} - name: Docker login - uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # ratchet:docker/login-action@v3.7.0 + uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0 with: registry: ghcr.io username: ${{ github.repository_owner }} @@ -70,7 +70,7 @@ runs: - name: Cache pre-built src id: cache-src if: inputs.BUILD_IMAGE == 'true' - uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # ratchet:actions/cache@v5.0.3 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: otp_src.tar.gz key: prebuilt-src-${{ github.ref_name }}-${{ github.sha }} @@ -84,7 +84,7 @@ runs: - name: Cache pre-built binaries id: cache-binary if: inputs.BUILD_IMAGE == 'true' && steps.cache-src.outputs.cache-hit == 'true' - uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # ratchet:actions/cache@v5.0.3 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: otp_cache.tar.gz key: prebuilt-cache-${{ inputs.TYPE }}-${{ github.ref_name }}-${{ github.sha }} diff --git a/.github/actions/ossf-compiler-flags-scanner/action.yaml b/.github/actions/ossf-compiler-flags-scanner/action.yaml index 143a9a4ad69d..6200c4239be6 100644 --- a/.github/actions/ossf-compiler-flags-scanner/action.yaml +++ b/.github/actions/ossf-compiler-flags-scanner/action.yaml @@ -28,7 +28,7 @@ inputs: runs: using: composite steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # ratchet:actions/checkout@v6.0.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: repository: ossf/wg-best-practices-os-developers sparse-checkout: docs/Compiler-Hardening-Guides/compiler-options-scraper @@ -58,6 +58,6 @@ runs: # Upload the results to GitHub's code scanning dashboard. - name: "Upload to code-scanning" if: ${{ !cancelled() && inputs.upload == 'true' }} - uses: github/codeql-action/upload-sarif@2d6b98c7cf7260afd6954ee7de478b21127b40f4 # ratchet:github/codeql-action/upload-sarif@v3.29.7 + uses: github/codeql-action/upload-sarif@db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28 # v4.37.8 with: sarif_file: results.sarif diff --git a/.github/workflows/github-actions-checker.yaml b/.github/workflows/github-actions-checker.yaml index cdda745a4997..3734a202e0c8 100644 --- a/.github/workflows/github-actions-checker.yaml +++ b/.github/workflows/github-actions-checker.yaml @@ -37,7 +37,7 @@ jobs: runs-on: 'ubuntu-latest' name: 'ratchet' steps: - - uses: 'actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd' # ratchet:actions/checkout@v6.0.2 + - uses: 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1' # v7.0.1 with: persist-credentials: false - id: files diff --git a/.github/workflows/license-scanner.yaml b/.github/workflows/license-scanner.yaml index cea89b633979..e9fde3a42ad9 100644 --- a/.github/workflows/license-scanner.yaml +++ b/.github/workflows/license-scanner.yaml @@ -35,7 +35,7 @@ jobs: run-scan: runs-on: ubuntu-latest steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # ratchet:actions/checkout@v6.0.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: '0' persist-credentials: false diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index d158fbf4a270..b51e6d65caf7 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -316,7 +316,7 @@ jobs: security-events: write steps: - name: Checkout repository - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # ratchet:actions/checkout@v6.0.2 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Run zizmor diff --git a/.github/workflows/openvex-sync.yml b/.github/workflows/openvex-sync.yml index 6cc27e64682f..1c4ef6519a5a 100644 --- a/.github/workflows/openvex-sync.yml +++ b/.github/workflows/openvex-sync.yml @@ -39,7 +39,7 @@ jobs: pull-requests: write # use inside the otp-compliance.es if: github.repository == 'erlang/otp' steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # ratchet:actions/checkout@v6.0.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: ref: 'master' # '' = default branch persist-credentials: false @@ -52,7 +52,7 @@ jobs: with: vexctl-release: '0.3.0' - - uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # ratchet:actions/create-github-app-token@v2.2.1 + - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 id: app-token with: # required diff --git a/.github/workflows/ossf-compiler-flags-scanner.yaml b/.github/workflows/ossf-compiler-flags-scanner.yaml index 241a737f80da..62113afe4a97 100644 --- a/.github/workflows/ossf-compiler-flags-scanner.yaml +++ b/.github/workflows/ossf-compiler-flags-scanner.yaml @@ -44,7 +44,7 @@ jobs: # Only need to read contents contents: read steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # ratchet:actions/checkout@v6.0.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Create initial pre-release tar diff --git a/.github/workflows/osv-scanner-scheduled.yml b/.github/workflows/osv-scanner-scheduled.yml index 3623c4528cde..0d203797bb8d 100644 --- a/.github/workflows/osv-scanner-scheduled.yml +++ b/.github/workflows/osv-scanner-scheduled.yml @@ -41,7 +41,7 @@ jobs: outputs: versions: ${{ steps.get-versions.outputs.versions }} steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # ratchet:actions/checkout@v6.0.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - id: get-versions diff --git a/.github/workflows/pr-comment.yaml b/.github/workflows/pr-comment.yaml index ca2ea31b4c84..ab004dd2d852 100644 --- a/.github/workflows/pr-comment.yaml +++ b/.github/workflows/pr-comment.yaml @@ -49,7 +49,7 @@ jobs: outputs: result: ${{ steps.pr-number.outputs.result }} steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # ratchet:actions/checkout@v6.0.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - uses: erlef/setup-beam@e6d7c94229049569db56a7ad5a540c051a010af9 # ratchet:erlef/setup-beam@v1.20.4 @@ -72,11 +72,11 @@ jobs: pull-requests: write if: github.event.action == 'requested' && needs.pr-number.outputs.result != '' steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # ratchet:actions/checkout@v6.0.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false ## We create an initial comment with some useful help to the user - - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # ratchet:actions/github-script@v8.0.0 + - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: PR_NUMBER: ${{ needs.pr-number.outputs.result }} with: @@ -99,7 +99,7 @@ jobs: needs.pr-number.outputs.result != '' && github.event.workflow_run.conclusion != 'skipped' steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # ratchet:actions/checkout@v6.0.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Download and Extract Artifacts @@ -139,7 +139,7 @@ jobs: ## Append some useful links and tips to the test results posted by ## Publish CT Test Results - - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # ratchet:actions/github-script@v8.0.0 + - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 if: always() env: PR_NUMBER: ${{ needs.pr-number.outputs.result }} diff --git a/.github/workflows/renovate-vendored-deps.yaml b/.github/workflows/renovate-vendored-deps.yaml index 9abf6bbac131..cf4ca9051220 100644 --- a/.github/workflows/renovate-vendored-deps.yaml +++ b/.github/workflows/renovate-vendored-deps.yaml @@ -39,7 +39,7 @@ jobs: contains(github.event.pull_request.title, 'update dependency') && github.actor == 'renovate-bot' steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # ratchet:actions/checkout@v6.0.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 # zizmor: ignore[artipacked] # git push in renovate-vendored-deps.sh needs credentials with: diff --git a/.github/workflows/reusable-build-flavours.yaml b/.github/workflows/reusable-build-flavours.yaml index 752466411810..d0fb24ae052b 100644 --- a/.github/workflows/reusable-build-flavours.yaml +++ b/.github/workflows/reusable-build-flavours.yaml @@ -48,7 +48,7 @@ jobs: flavor: [jit, emu] fail-fast: false steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # ratchet:actions/checkout@v6.0.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false diff --git a/.github/workflows/reusable-build-ios.yaml b/.github/workflows/reusable-build-ios.yaml index 5e320b04af4e..738d9c60b6d7 100644 --- a/.github/workflows/reusable-build-ios.yaml +++ b/.github/workflows/reusable-build-ios.yaml @@ -38,12 +38,12 @@ jobs: RELEASE_LIBBEAM: yes TARGET_ARCH: aarch64-apple-ios name: Build Erlang/OTP (iOS) - runs-on: macos-15 + runs-on: macos-26 permissions: contents: read # actions/checkout actions: write # actions/upload-artifact steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # ratchet:actions/checkout@v6.0.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false diff --git a/.github/workflows/reusable-build-macos.yaml b/.github/workflows/reusable-build-macos.yaml index 6b023c10fa75..b8a872d5708f 100644 --- a/.github/workflows/reusable-build-macos.yaml +++ b/.github/workflows/reusable-build-macos.yaml @@ -35,7 +35,7 @@ permissions: jobs: build-macos: name: Build Erlang/OTP (macOS) - runs-on: macos-15 + runs-on: macos-26 permissions: contents: read # actions/checkout + actions/cache (restore/save) actions: write # actions/download-artifact + actions/upload-artifact @@ -43,7 +43,7 @@ jobs: WXWIDGETS_VERSION: 3.2.9 MACOS_VERSION: 15 steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # ratchet:actions/checkout@v6.0.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false @@ -54,7 +54,7 @@ jobs: - name: Cache wxWidgets id: wxwidgets-cache - uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # ratchet:actions/cache@v5.0.3 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: wxWidgets key: wxWidgets-${{ env.WXWIDGETS_VERSION }}-${{ runner.os }}-${{ hashFiles('.github/scripts/build-macos-wxwidgets.sh') }}-${{ env.MACOS_VERSION }} diff --git a/.github/workflows/reusable-build-otp.yaml b/.github/workflows/reusable-build-otp.yaml index b9d95f86b7ca..c80c1935b017 100644 --- a/.github/workflows/reusable-build-otp.yaml +++ b/.github/workflows/reusable-build-otp.yaml @@ -43,7 +43,7 @@ jobs: fail-fast: false steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # ratchet:actions/checkout@v6.0.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false diff --git a/.github/workflows/reusable-build-windows.yaml b/.github/workflows/reusable-build-windows.yaml index 37176045eb98..7a69cb5023b5 100644 --- a/.github/workflows/reusable-build-windows.yaml +++ b/.github/workflows/reusable-build-windows.yaml @@ -45,7 +45,7 @@ jobs: contents: read # actions/cache (restore/save wxWidgets cache) actions: write # actions/download-artifact + actions/upload-artifact steps: - - uses: Vampire/setup-wsl@6a8db447be7ed35f2f499c02c6e60ff77ef11278 # ratchet:Vampire/setup-wsl@v6.0.0 + - uses: Vampire/setup-wsl@d1da7f2c0322a5ee4f24975344f67fc0f5baf364 # v7.0.0 with: distribution: Ubuntu-18.04 @@ -70,7 +70,7 @@ jobs: run: echo "os=${ImageOS:-unknown}" >> "$GITHUB_OUTPUT" - name: Cache wxWidgets - uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # ratchet:actions/cache@v5.0.3 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: wxWidgets key: wxWidgets-${{ env.WXWIDGETS_VERSION }}-${{ steps.image.outputs.os }} diff --git a/.github/workflows/reusable-check-files.yaml b/.github/workflows/reusable-check-files.yaml index 64b6cdebfdc2..924bbde0d720 100644 --- a/.github/workflows/reusable-check-files.yaml +++ b/.github/workflows/reusable-check-files.yaml @@ -55,7 +55,7 @@ jobs: permissions: contents: read # actions/checkout (fetch-depth: 0) + git diff (whitespace + BEAM detection) steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # ratchet:actions/checkout@v6.0.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 persist-credentials: false diff --git a/.github/workflows/reusable-documentation.yaml b/.github/workflows/reusable-documentation.yaml index a7155f787bb9..bf4b11615811 100644 --- a/.github/workflows/reusable-documentation.yaml +++ b/.github/workflows/reusable-documentation.yaml @@ -50,7 +50,7 @@ jobs: contents: read # actions/checkout + ./.github/actions/build-base-image actions: write # actions/upload-artifact steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # ratchet:actions/checkout@v6.0.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false diff --git a/.github/workflows/reusable-pack.yaml b/.github/workflows/reusable-pack.yaml index 3d06434c7a6a..881e9643e0ad 100644 --- a/.github/workflows/reusable-pack.yaml +++ b/.github/workflows/reusable-pack.yaml @@ -61,7 +61,7 @@ jobs: build-c-code: ${{ steps.build-c-code.outputs.value }} all: ${{ steps.apps.outputs.all }} steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # ratchet:actions/checkout@v6.0.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false @@ -82,7 +82,7 @@ jobs: echo "all=${ALL_APPS}" >> $GITHUB_OUTPUT - name: Check which applications have changed - uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # ratchet:dorny/paths-filter@v3.0.2 + uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.3 id: app-changes with: filters: .github/scripts/path-filters.yaml @@ -102,7 +102,7 @@ jobs: fi - name: Check if there are any C-code changes, if not then limit CI run - uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # ratchet:dorny/paths-filter@v3.0.2 + uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.3 id: c-code-changes with: filters: .github/scripts/c-code-path-filters.yaml @@ -121,7 +121,7 @@ jobs: fi - name: Cache pre-built src - uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # ratchet:actions/cache@v5.0.3 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: otp_src.tar.gz key: prebuilt-src-${{ github.ref_name }}-${{ github.sha }} @@ -129,7 +129,7 @@ jobs: prebuilt-src-${{ github.base_ref }}-${{ github.event.pull_request.base.sha }} - name: Cache pre-built binaries - uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # ratchet:actions/cache@v5.0.3 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: otp_cache.tar.gz key: prebuilt-cache-64-bit-${{ github.ref_name }}-${{ github.sha }} @@ -146,7 +146,7 @@ jobs: path: otp_archive.tar.gz - name: Check how we can use the pre-built cache - uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # ratchet:dorny/paths-filter@v3.0.2 + uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.3 id: cache with: filters: | diff --git a/.github/workflows/reusable-release.yaml b/.github/workflows/reusable-release.yaml index eaabef759d54..fdad775b1517 100644 --- a/.github/workflows/reusable-release.yaml +++ b/.github/workflows/reusable-release.yaml @@ -54,7 +54,7 @@ jobs: actions: write # actions/download-artifact (otp_prebuilt, otp_doc_html, otp_doc_man, ort-results-*) # actions/upload-artifact (Attestations) steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # ratchet:actions/checkout@v6.0.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false @@ -103,7 +103,7 @@ jobs: - name: Attest Distribution Assets with SBoM id: attest-sbom if: inputs.otp_sbom_version != '' # needed to not account for OTP-26 and 27 - uses: actions/attest-sbom@4651f806c01d8637787e274ac3bdf724ef169f34 # ratchet:actions/attest-sbom@v3 + uses: actions/attest-sbom@c604332985a26aa8cf1bdc465b92731239ec6b9e # v4 with: subject-path: | artifacts/*.tar.gz diff --git a/.github/workflows/reusable-sbom.yaml b/.github/workflows/reusable-sbom.yaml index 8885a2c6a7fd..fcd65eba1595 100644 --- a/.github/workflows/reusable-sbom.yaml +++ b/.github/workflows/reusable-sbom.yaml @@ -63,7 +63,7 @@ jobs: - name: Use HTTPS instead of SSH for Git cloning run: git config --global url.https://github.com/.insteadOf ssh://git@github.com/ - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # ratchet:actions/checkout@v6.0.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false @@ -72,7 +72,7 @@ jobs: BASE_BRANCH: ${{ inputs.base_branch }} - name: Fetch Default ORT Config - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # ratchet:actions/checkout@v6.0.2 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: repository: oss-review-toolkit/ort-config ref: "d2978deb230beae095bb6cfec074b94f1a74fd34" @@ -108,7 +108,7 @@ jobs: run: ln -s analyzer-result.json $HOME/.ort/ort-results/current-result.json - name: Restore ORT Scanner cache - uses: actions/cache/restore@b7e8d49f17405cc70c1c120101943203c98d3a4b # ratchet:actions/cache/restore@v4 + uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6 id: ort-cache if: ${{ inputs.full_build_and_check == 'false' }} with: @@ -185,7 +185,7 @@ jobs: sw-version: ${{ env.OTP_SBOM_VERSION }} - name: Save ORT Scanner cache - uses: actions/cache/save@b7e8d49f17405cc70c1c120101943203c98d3a4b # ratchet:actions/cache/save@v4 + uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6 if: steps.ort-cache.outputs.cache-hit != 'true' with: path: ${{ env.SCAN_RESULT_CACHE_PATH }} @@ -244,7 +244,7 @@ jobs: id-token: write # dependency submission OIDC actions: read # actions/download-artifact steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # ratchet:actions/checkout@v6.0.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false diff --git a/.github/workflows/reusable-static-analysis.yaml b/.github/workflows/reusable-static-analysis.yaml index 44882e226863..e6ed92b2fa03 100644 --- a/.github/workflows/reusable-static-analysis.yaml +++ b/.github/workflows/reusable-static-analysis.yaml @@ -39,7 +39,7 @@ jobs: contents: read security-events: write # needed for SARIF upload steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # ratchet:actions/checkout@v6.0.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false diff --git a/.github/workflows/reusable-system-test.yaml b/.github/workflows/reusable-system-test.yaml index a42ae3eb791f..89beaba5be5b 100644 --- a/.github/workflows/reusable-system-test.yaml +++ b/.github/workflows/reusable-system-test.yaml @@ -43,7 +43,7 @@ jobs: contents: read # actions/checkout + ./.github/actions/build-base-image actions: write # actions/download-artifact + actions/upload-artifact steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # ratchet:actions/checkout@v6.0.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false diff --git a/.github/workflows/reusable-test.yaml b/.github/workflows/reusable-test.yaml index 94927e5de6f9..34e38353296b 100644 --- a/.github/workflows/reusable-test.yaml +++ b/.github/workflows/reusable-test.yaml @@ -52,7 +52,7 @@ jobs: # type: ["os_mon","sasl"] fail-fast: false steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # ratchet:actions/checkout@v6.0.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - uses: ./.github/actions/build-base-image diff --git a/.github/workflows/reusable-vendor-vulnerability-scanner.yml b/.github/workflows/reusable-vendor-vulnerability-scanner.yml index fda6ebfa4036..836a0e8d44de 100644 --- a/.github/workflows/reusable-vendor-vulnerability-scanner.yml +++ b/.github/workflows/reusable-vendor-vulnerability-scanner.yml @@ -104,7 +104,7 @@ jobs: outputs: vendor-files: ${{ steps.vendor-files.outputs.MODIFIED_FILES != '0' }} steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # ratchet:actions/checkout@v6.0.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 persist-credentials: false @@ -131,7 +131,7 @@ jobs: actions: read if: ${{ !cancelled() && (needs.modified-vendor-files.result == 'success' || needs.modified-vendor-files.result == 'skipped') }} steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # ratchet:actions/checkout@v6.0.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: ref: ${{ inputs.checkout && inputs.version || ''}} # '' = default branch persist-credentials: false @@ -149,7 +149,7 @@ jobs: # so we need to use the condition below for PRs based on a fork - name: "Generate GitHub App Token (if secrets exist)" if: ${{ env.IS_NOT_FORKED_PR == 'true' }} - uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # ratchet:actions/create-github-app-token@v2.2.1 + uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 id: app-token with: app-id: ${{ secrets.ERLANG_VENDOR_SCANNER_APP_ID }} diff --git a/.github/workflows/scorecard.yaml b/.github/workflows/scorecard.yaml index 80714d2a8276..5349c506a38a 100644 --- a/.github/workflows/scorecard.yaml +++ b/.github/workflows/scorecard.yaml @@ -45,7 +45,7 @@ jobs: actions: read steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # ratchet:actions/checkout@v6.0.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false diff --git a/.github/workflows/sigstore-updater.yml b/.github/workflows/sigstore-updater.yml index 2408b5834196..9e42639ab4af 100644 --- a/.github/workflows/sigstore-updater.yml +++ b/.github/workflows/sigstore-updater.yml @@ -49,7 +49,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Download release artifacts @@ -61,7 +61,7 @@ jobs: run: mkdir artifacts; cp *.tar.gz artifacts/ - name: Attest Distribution Assets with SBoM id: attest-sbom - uses: actions/attest-sbom@4651f806c01d8637787e274ac3bdf724ef169f34 # v3 + uses: actions/attest-sbom@c604332985a26aa8cf1bdc465b92731239ec6b9e # v4 with: subject-path: | artifacts/*.tar.gz @@ -97,7 +97,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout PR branch - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: ref: "${{ github.head_ref }}" fetch-depth: 0 @@ -140,7 +140,7 @@ jobs: uses: actions/attest@59d89421af93a897026c735860bf21b6eb4f7b26 # v4.10 with: subject-path: 'vex/*.openvex.json' - - uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1 + - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 if: steps.changed.outputs.found == 'true' id: app-token with: diff --git a/.github/workflows/sync-github-releases.yaml b/.github/workflows/sync-github-releases.yaml index 9594724c7649..474e08993a99 100644 --- a/.github/workflows/sync-github-releases.yaml +++ b/.github/workflows/sync-github-releases.yaml @@ -43,7 +43,7 @@ jobs: contents: write actions: write steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # ratchet:actions/checkout@v6.0.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false ## We need to login to the package registry in order to pull diff --git a/.github/workflows/update-base.yaml b/.github/workflows/update-base.yaml index 8e5ed50d0524..1b66f4c4d6f9 100644 --- a/.github/workflows/update-base.yaml +++ b/.github/workflows/update-base.yaml @@ -49,7 +49,7 @@ jobs: fail-fast: false steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # ratchet:actions/checkout@v6.0.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: ref: ${{ matrix.branch }} persist-credentials: false @@ -57,7 +57,7 @@ jobs: shell: bash run: .github/scripts/cleanup_gh_runner.sh - name: Docker login - uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # ratchet:docker/login-action@v3.7.0 + uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0 with: registry: ghcr.io username: ${{ github.actor }} diff --git a/.github/workflows/upload-windows-zip.yaml b/.github/workflows/upload-windows-zip.yaml index 9a686791611f..66ff9a80ea24 100644 --- a/.github/workflows/upload-windows-zip.yaml +++ b/.github/workflows/upload-windows-zip.yaml @@ -43,7 +43,7 @@ jobs: env: BASENAME: otp_${{ inputs.target }}_${{ inputs.version }} steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # ratchet:actions/checkout@v6.0.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false