File tree Expand file tree Collapse file tree 2 files changed +18
-11
lines changed Expand file tree Collapse file tree 2 files changed +18
-11
lines changed Original file line number Diff line number Diff line change @@ -12,13 +12,6 @@ concurrency:
1212 cancel-in-progress : true
1313
1414jobs :
15- gradle-wrapper-validation :
16- runs-on : ubuntu-latest
17- steps :
18- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
19-
20- - uses : gradle/wrapper-validation-action@f9c9c575b8b21b6485636a91ffecd10e558c62f6 # v3.5.0
21-
2215 build :
2316 runs-on : ${{ matrix.os }}
2417 strategy :
5245
5346 required-status-check :
5447 needs :
55- - gradle-wrapper-validation
5648 - build
5749 runs-on : ubuntu-latest
5850 if : always()
5951 steps :
60- - if : |
61- needs.gradle-wrapper-validation.result != 'success' ||
62- needs.build.result != 'success'
52+ - if : needs.build.result != 'success'
6353 run : exit 1
Original file line number Diff line number Diff line change 1+ name : Gradle wrapper validation
2+
3+ on :
4+ push :
5+ pull_request :
6+
7+ permissions :
8+ contents : read
9+
10+ jobs :
11+ gradle-wrapper-validation :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
15+
16+ # this needs to be in its own workflow in order to make OSSF scorecard happy
17+ - uses : gradle/actions/wrapper-validation@06832c7b30a0129d7fb559bcc6e43d26f6374244 # v4.3.1
You can’t perform that action at this time.
0 commit comments