From 1b9ad38eaa321586350234e2bfe6f06bd324d5b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mladen=20Jablanovi=C4=87?= Date: Thu, 25 Jul 2024 17:30:14 +0200 Subject: [PATCH] build(ruby): Add license check [TSI-2608] (#658) --- .github/workflows/test-ruby.yml | 5 +++++ clients/ruby/.license-decisions.yml | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 clients/ruby/.license-decisions.yml diff --git a/.github/workflows/test-ruby.yml b/.github/workflows/test-ruby.yml index 6e9dd0c8..f3b6e691 100644 --- a/.github/workflows/test-ruby.yml +++ b/.github/workflows/test-ruby.yml @@ -20,3 +20,8 @@ jobs: run: | cd ./clients/ruby bundle exec rspec + - name: Check licenses + uses: phrase/actions/lawa-ruby-ci@v1 + with: + working-directory: ./clients/ruby + github-token: ${{ secrets.GH_LAWA_ACCESS_TOKEN }} diff --git a/clients/ruby/.license-decisions.yml b/clients/ruby/.license-decisions.yml new file mode 100644 index 00000000..34f0d1a8 --- /dev/null +++ b/clients/ruby/.license-decisions.yml @@ -0,0 +1,4 @@ +--- +- - :inherit_from + - url: https://raw.githubusercontent.com/phrase/lawa/master/config/license-decisions.yml + authorization: token $GITHUB_TOKEN