Skip to content

Commit 1027675

Browse files
author
opentelemetry-basic-automation[bot]
committed
Move gradle wrapper-validation to top-level workflow to make OSSF scorecard happy
1 parent a9217ee commit 1027675

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

.github/workflows/build-common.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,6 @@ jobs:
4747
- name: Spotless
4848
run: ./gradlew spotlessCheck ${{ inputs.no-build-cache && '--no-build-cache' || '' }}
4949

50-
gradle-wrapper-validation:
51-
runs-on: ubuntu-latest
52-
steps:
53-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
54-
55-
- uses: gradle/actions/wrapper-validation@0bdd871935719febd78681f197cd39af5b6e16a6 # v4.2.2
56-
5750
license-check:
5851
runs-on: ubuntu-latest
5952
steps:
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: "Validate Gradle Wrappers"
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
validation:
9+
name: "Validation"
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
13+
- uses: gradle/actions/wrapper-validation@0bdd871935719febd78681f197cd39af5b6e16a6 # v4.2.2

0 commit comments

Comments
 (0)