From de8ed7dca35af81af92921b5f6d032a722dfe1bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mladen=20Jablanovi=C4=87?= Date: Thu, 8 Aug 2024 09:18:08 +0200 Subject: [PATCH] build(java): Add license check [TSI-2538] (#665) --- .github/workflows/test-java.yml | 7 +++++++ clients/java/.license-decisions.yml | 16 ++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 clients/java/.license-decisions.yml diff --git a/.github/workflows/test-java.yml b/.github/workflows/test-java.yml index 8b305209..fc4223af 100644 --- a/.github/workflows/test-java.yml +++ b/.github/workflows/test-java.yml @@ -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 \ No newline at end of file diff --git a/clients/java/.license-decisions.yml b/clients/java/.license-decisions.yml new file mode 100644 index 00000000..04f63ce3 --- /dev/null +++ b/clients/java/.license-decisions.yml @@ -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