Skip to content

Commit

Permalink
build(php): Add license check [TSI-2630] (#668)
Browse files Browse the repository at this point in the history
  • Loading branch information
jablan authored Aug 9, 2024
1 parent de8ed7d commit 49b4b41
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,10 @@ jobs:
php_version: '7.4'
version: '7.4'
configuration: ./clients/php/phpunit.xml.dist
- 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/php
package-managers: composer
4 changes: 4 additions & 0 deletions clients/php/.license-decisions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
- - :inherit_from
- url: https://raw.githubusercontent.com/phrase/lawa/master/config/license-decisions.yml
authorization: token $GITHUB_TOKEN

0 comments on commit 49b4b41

Please sign in to comment.