licenses #405
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: generate license notice file | |
run-name: licenses | |
on: [push] | |
jobs: | |
generate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.8' | |
cache: 'pip' | |
- run: pip install pip-licenses | |
- run: pip install . | |
- run: bash ./generate_notice.sh | |
- uses: EndBug/[email protected] | |
with: | |
add: 'NOTICE' | |
pull: "--autostash" | |
author_name: License Bot | |
author_email: [email protected] | |
message: 'Update NOTICE file' |