Skip to content

Commit

Permalink
Add checkDeniedLicense into CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Pil0tXia committed Apr 25, 2024
1 parent ace11a2 commit 51e6d6f
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/license.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,22 @@ jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- name: 'Checkout Repository'
- name: Checkout Repository
uses: actions/checkout@v4

- name: 'Check license header'
- name: Check license header
uses: apache/skywalking-eyes@main

- name: Set up JDK 11
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 11

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3

- name: Check license compatibility
run: ./gradlew clean checkDeniedLicense
env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}

0 comments on commit 51e6d6f

Please sign in to comment.