[pull] master from openkruise:master #179
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: | |
- master | |
- release-* | |
workflow_dispatch: {} | |
pull_request: | |
branches: | |
- master | |
- release-* | |
# Declare default permissions as read only. | |
permissions: read-all | |
jobs: | |
license_check: | |
runs-on: ubuntu-20.04 | |
name: Check for unapproved licenses | |
steps: | |
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@7bae1d00b5db9166f4f0fc47985a3a5702cb58f0 # v1.197.0 | |
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 |