Skip to content

Commit 8c0b510

Browse files
authored
Make OSSF scorecard happy (#13179)
1 parent 7a57491 commit 8c0b510

File tree

3 files changed

+14
-17
lines changed

3 files changed

+14
-17
lines changed

.github/workflows/build-pull-request.yml

-9
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,6 @@ permissions:
1616
contents: read
1717

1818
jobs:
19-
gradle-wrapper-validation:
20-
runs-on: ubuntu-latest
21-
steps:
22-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
23-
24-
# this needs to be in the top-level workflow in order to make OSSF scorecard happy
25-
- uses: gradle/actions/wrapper-validation@94baf225fe0a508e581a564467443d0e2379123b # v4.3.0
26-
2719
common:
2820
uses: ./.github/workflows/build-common.yml
2921
with:
@@ -79,7 +71,6 @@ jobs:
7971
# only the "common" checks are required for release branch PRs in order to avoid any unnecessary
8072
# release branch maintenance (especially for patches)
8173
needs:
82-
- gradle-wrapper-validation
8374
- common
8475
- muzzle
8576
- shell-script-check

.github/workflows/build.yml

-8
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,6 @@ permissions:
1111
contents: read
1212

1313
jobs:
14-
gradle-wrapper-validation:
15-
runs-on: ubuntu-latest
16-
steps:
17-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
18-
19-
# this needs to be in the top-level workflow in order to make OSSF scorecard happy
20-
- uses: gradle/actions/wrapper-validation@94baf225fe0a508e581a564467443d0e2379123b # v4.3.0
21-
2214
common:
2315
uses: ./.github/workflows/build-common.yml
2416
secrets:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: "Validate Gradle Wrappers"
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
validation:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
12+
13+
# this needs to be in its own workflow in order to make OSSF scorecard happy
14+
- uses: gradle/actions/wrapper-validation@94baf225fe0a508e581a564467443d0e2379123b # v4.3.0

0 commit comments

Comments
 (0)