Define a license_finder workflow to permit only free licenses

This commit is contained in:
Manuel Bustillo 2024-10-26 10:04:47 +02:00
parent 41fc162d66
commit debd535fc9

21
license_finder.yml Normal file
View 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