diff --git a/.github/workflows/build-pull-request.yml b/.github/workflows/build-pull-request.yml index 5f7646348eeb..6caad07f7d4f 100644 --- a/.github/workflows/build-pull-request.yml +++ b/.github/workflows/build-pull-request.yml @@ -16,14 +16,6 @@ permissions: contents: read jobs: - gradle-wrapper-validation: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - - # this needs to be in the top-level workflow in order to make OSSF scorecard happy - - uses: gradle/actions/wrapper-validation@94baf225fe0a508e581a564467443d0e2379123b # v4.3.0 - common: uses: ./.github/workflows/build-common.yml with: @@ -79,7 +71,6 @@ jobs: # only the "common" checks are required for release branch PRs in order to avoid any unnecessary # release branch maintenance (especially for patches) needs: - - gradle-wrapper-validation - common - muzzle - shell-script-check diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 43a7ca732f27..fb4ed9a5dc7c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,14 +11,6 @@ permissions: contents: read jobs: - gradle-wrapper-validation: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - - # this needs to be in the top-level workflow in order to make OSSF scorecard happy - - uses: gradle/actions/wrapper-validation@94baf225fe0a508e581a564467443d0e2379123b # v4.3.0 - common: uses: ./.github/workflows/build-common.yml secrets: diff --git a/.github/workflows/gradle-wrapper-validation.yml b/.github/workflows/gradle-wrapper-validation.yml new file mode 100644 index 000000000000..d6f3953beec8 --- /dev/null +++ b/.github/workflows/gradle-wrapper-validation.yml @@ -0,0 +1,14 @@ +name: "Validate Gradle Wrappers" + +on: + push: + pull_request: + +jobs: + validation: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + + # this needs to be in its own workflow in order to make OSSF scorecard happy + - uses: gradle/actions/wrapper-validation@94baf225fe0a508e581a564467443d0e2379123b # v4.3.0