Merge pull request #53 from ZHANGWENTAI/config_modification #60
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: License | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: {} | |
pull_request: | |
branches: | |
- main | |
jobs: | |
license_check: | |
runs-on: ubuntu-latest | |
name: Check for unapproved licenses | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.6 | |
- name: Install dependencies | |
run: gem install license_finder | |
- name: Run tests | |
run: license_finder --decisions_file .license/dependency_decisions.yml |