Feature/revision index #3861
Workflow file for this run
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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@a6e6f86333f0a2523ece813039b8b4be04560854 # v1.190.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 |