From 96e01ed047485afaec2281aa7b1e0779b306ddfe Mon Sep 17 00:00:00 2001 From: Puneet Behl Date: Fri, 20 Oct 2023 02:56:39 +0530 Subject: [PATCH] Update actions/checkout to v4 --- .github/workflows/codeql.yml | 2 +- .github/workflows/gradle.yml | 2 +- .github/workflows/release-notes.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/retry-release.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 64c995c8120..c986bf07c17 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -36,7 +36,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 860654155de..f3844986f9d 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -29,7 +29,7 @@ jobs: WORKSPACE: ${{ github.workspace }} GRADLE_OPTS: -Xmx1500m -Dfile.encoding=UTF-8 steps: - - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 + - uses: actions/checkout@v4 - name: Set up JDK uses: actions/setup-java@v3 with: diff --git a/.github/workflows/release-notes.yml b/.github/workflows/release-notes.yml index a0cdf5f9a1d..b68b9d693a1 100644 --- a/.github/workflows/release-notes.yml +++ b/.github/workflows/release-notes.yml @@ -16,7 +16,7 @@ jobs: release_notes: runs-on: ubuntu-latest steps: - - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 + - uses: actions/checkout@v4 - name: Check if it has release drafter config file id: check_release_drafter run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 20c0a30dcbb..4cc27658f66 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: GRADLE_OPTS: -Xmx1500m -Dfile.encoding=UTF-8 steps: - name: Checkout repository - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 + uses: actions/checkout@v4 with: token: ${{ secrets.GH_TOKEN }} - uses: gradle/wrapper-validation-action@v1 diff --git a/.github/workflows/retry-release.yml b/.github/workflows/retry-release.yml index 48976a12d95..5b8fca9729c 100644 --- a/.github/workflows/retry-release.yml +++ b/.github/workflows/retry-release.yml @@ -25,7 +25,7 @@ jobs: GRADLE_OPTS: -Xmx1500m -Dfile.encoding=UTF-8 steps: - name: Checkout repository - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 + uses: actions/checkout@v4 with: ref: "v${{ github.event.inputs.release }}" token: ${{ secrets.GH_TOKEN }}