Skip to content

Commit

Permalink
build(java): Add license check [TSI-2538] (#665)
Browse files Browse the repository at this point in the history
  • Loading branch information
jablan authored Aug 8, 2024
1 parent 8a3c5e9 commit de8ed7d
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,10 @@ jobs:
gradle-version: 7.1.1
build-root-directory: ./clients/java
arguments: test --info
- name: License check
uses: phrase/actions/lawa-ci@v1
with:
github-token: ${{ secrets.GH_LAWA_ACCESS_TOKEN }}
decisions-file: .license-decisions.yml
working-directory: clients/java
package-managers: maven
16 changes: 16 additions & 0 deletions clients/java/.license-decisions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
- - :inherit_from
- url: https://raw.githubusercontent.com/phrase/lawa/master/config/license-decisions.yml
authorization: token $GITHUB_TOKEN
- - :approve
- javax.annotation-api
- :who: Mladen Jablanovic
:why: CDDL
:versions: []
:when: 2024-08-07 17:34:09.423359302 Z
- - :approve
- junit
- :who: Mladen Jablanovic
:why: EPL 1
:versions: []
:when: 2024-08-07 17:34:26.745060008 Z

0 comments on commit de8ed7d

Please sign in to comment.