Update LicenseDB with latest updates from scancode-toolkit develop daily #526
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: Update LicenseDB with latest updates from scancode-toolkit develop daily | |
on: | |
schedule: | |
- cron: '0 16 * * 1-5' | |
workflow_dispatch: | |
jobs: | |
update_licenseDB: | |
name: Daily LicenseDB Update | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.12 | |
- name: Run script | |
run: ./etc/scripts/check_commit_run_update.sh | |
- name: Commit and Push to Publish | |
run: | | |
git config --global user.name 'LicenseDB Update GitHub Action' | |
git config --global user.email '[email protected]' | |
git add docs/* etc/* | |
git commit -m "Automated LicenseDB update with latest from scancode-toolkit develop" | |
git push |