From c263bcfc1fc9609b5cbdf3797ec9dc524c72c24b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 4 Sep 2023 13:29:55 +0000 Subject: [PATCH] Update actions/checkout action to v4 --- .github/workflows/generate-changelog.yml | 2 +- .github/workflows/gradle-wrapper-validation.yml | 2 +- .github/workflows/publish-release-build.yml | 2 +- .github/workflows/publish-release-docs.yml | 2 +- .github/workflows/publish-snapshot-build.yml | 2 +- .github/workflows/publish-snapshot-docs.yml | 2 +- .github/workflows/pull-request-with-code.yml | 6 +++--- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/generate-changelog.yml b/.github/workflows/generate-changelog.yml index 29dc4998b9..50a1febc5a 100644 --- a/.github/workflows/generate-changelog.yml +++ b/.github/workflows/generate-changelog.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest if: github.repository == 'pinterest/ktlint' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 with: fetch-depth: 0 # fetch all commits/branches/tags diff --git a/.github/workflows/gradle-wrapper-validation.yml b/.github/workflows/gradle-wrapper-validation.yml index 2b7cca24a3..f23cb03c0b 100644 --- a/.github/workflows/gradle-wrapper-validation.yml +++ b/.github/workflows/gradle-wrapper-validation.yml @@ -7,5 +7,5 @@ jobs: name: "Validation" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - uses: gradle/wrapper-validation-action@v1 diff --git a/.github/workflows/publish-release-build.yml b/.github/workflows/publish-release-build.yml index 82c6ac2bab..cd3cae4e8f 100644 --- a/.github/workflows/publish-release-build.yml +++ b/.github/workflows/publish-release-build.yml @@ -11,7 +11,7 @@ jobs: if: github.repository == 'pinterest/ktlint' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 with: ref: 'master' diff --git a/.github/workflows/publish-release-docs.yml b/.github/workflows/publish-release-docs.yml index 3f97b19d9f..a8b31e72d9 100644 --- a/.github/workflows/publish-release-docs.yml +++ b/.github/workflows/publish-release-docs.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest if: github.repository == 'pinterest/ktlint' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 with: fetch-depth: 0 # fetch all commits/branches - uses: actions/setup-python@v4 diff --git a/.github/workflows/publish-snapshot-build.yml b/.github/workflows/publish-snapshot-build.yml index 6c6cb80ae2..8e70b34913 100644 --- a/.github/workflows/publish-snapshot-build.yml +++ b/.github/workflows/publish-snapshot-build.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest if: github.repository == 'pinterest/ktlint' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - uses: ./.github/actions/setup-gradle-build diff --git a/.github/workflows/publish-snapshot-docs.yml b/.github/workflows/publish-snapshot-docs.yml index 4c376dd3bf..1e29e0e83c 100644 --- a/.github/workflows/publish-snapshot-docs.yml +++ b/.github/workflows/publish-snapshot-docs.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest if: github.repository == 'pinterest/ktlint' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 with: fetch-depth: 0 # fetch all commits/branches - uses: actions/setup-python@v4 diff --git a/.github/workflows/pull-request-with-code.yml b/.github/workflows/pull-request-with-code.yml index 7a8be89c8d..d7090c45b1 100644 --- a/.github/workflows/pull-request-with-code.yml +++ b/.github/workflows/pull-request-with-code.yml @@ -36,7 +36,7 @@ jobs: runs-on: ${{ matrix.os }} name: "[build] OS=${{ matrix.os }} Kotlin=stable" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - uses: ./.github/actions/setup-gradle-build @@ -71,7 +71,7 @@ jobs: runs-on: ${{ matrix.os }} name: "[build] OS=${{ matrix.os }}, Kotlin=dev" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - uses: ./.github/actions/setup-gradle-build @@ -87,7 +87,7 @@ jobs: runs-on: ${{ matrix.os }} name: "[tests] OS=${{ matrix.os }}, Java=${{ matrix.jdk }}" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - uses: ./.github/actions/setup-gradle-build with: