From b84d51c895f6698b4c77441d6386bd20cb04b5df Mon Sep 17 00:00:00 2001 From: Arnout Engelen Date: Mon, 16 Jun 2025 13:32:33 +0200 Subject: [PATCH] pin actions with octopin --- .github/workflows/ci.yml | 20 ++++++++++---------- .github/workflows/format.yml | 2 +- .github/workflows/scala-steward.yml | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a6e06ca..5246ec1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,27 +34,27 @@ jobs: - name: Configure pagefile for Windows if: contains(runner.os, 'windows') - uses: al-cheb/configure-pagefile-action@v1.4 + uses: al-cheb/configure-pagefile-action@a3b6ebd6b634da88790d9c58d4b37a7f4a7b8708 # v1.4 with: minimum-size: 2GB maximum-size: 8GB disk-root: 'C:' - name: Checkout current branch (full) - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: fetch-depth: 0 - name: Setup Java (temurin@8) if: matrix.java == 'temurin@8' - uses: actions/setup-java@v4 + uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1 with: distribution: temurin java-version: 8 cache: sbt - name: Setup sbt - uses: sbt/setup-sbt@v1 + uses: sbt/setup-sbt@6c68d2fe8dfbc0a0534d70101baa2e0420e1a506 # v1.1.9 - name: Check that workflows are up to date shell: bash @@ -68,7 +68,7 @@ jobs: run: tar cf targets.tar target theme/target plugin/target project/target - name: Upload target directories - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: name: target-${{ matrix.os }}-${{ matrix.scala }}-${{ matrix.java }} path: targets.tar @@ -90,30 +90,30 @@ jobs: - name: Configure pagefile for Windows if: contains(runner.os, 'windows') - uses: al-cheb/configure-pagefile-action@v1.4 + uses: al-cheb/configure-pagefile-action@a3b6ebd6b634da88790d9c58d4b37a7f4a7b8708 # v1.4 with: minimum-size: 2GB maximum-size: 8GB disk-root: 'C:' - name: Checkout current branch (full) - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: fetch-depth: 0 - name: Setup Java (temurin@8) if: matrix.java == 'temurin@8' - uses: actions/setup-java@v4 + uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1 with: distribution: temurin java-version: 8 cache: sbt - name: Setup sbt - uses: sbt/setup-sbt@v1 + uses: sbt/setup-sbt@6c68d2fe8dfbc0a0534d70101baa2e0420e1a506 # v1.1.9 - name: Download target directories (2.12.18) - uses: actions/download-artifact@v4 + uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0 with: name: target-${{ matrix.os }}-2.12.18-${{ matrix.java }} diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 9a21f0f..184f2a8 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout current branch (full) - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: fetch-depth: 0 persist-credentials: false diff --git a/.github/workflows/scala-steward.yml b/.github/workflows/scala-steward.yml index 99d9c97..7f386f4 100644 --- a/.github/workflows/scala-steward.yml +++ b/.github/workflows/scala-steward.yml @@ -10,7 +10,7 @@ jobs: name: Launch Scala Steward steps: - name: Launch Scala Steward - uses: scala-steward-org/scala-steward-action@v2 + uses: scala-steward-org/scala-steward-action@5021652c555c5724af574758b78ea5be49640007 # v2.75.0 with: github-app-id: ${{ secrets.SCALA_STEWARD_APP_ID }} github-app-installation-id: ${{ secrets.SCALA_STEWARD_INSTALLATION_ID }}