Define a license_finder workflow to permit only free licenses
This commit is contained in:
parent
41fc162d66
commit
debd535fc9
21
license_finder.yml
Normal file
21
license_finder.yml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
name: Check usage of free licenses
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
pull_request:
|
||||||
|
jobs:
|
||||||
|
build-static-assets:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
- uses: ruby/setup-ruby@v1
|
||||||
|
with:
|
||||||
|
ruby-version: '3.3'
|
||||||
|
- name: Install license finder gem
|
||||||
|
run: gem install license_finder
|
||||||
|
- name: Run license finder
|
||||||
|
run: license_finder
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user