add oriole #56
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: Add License | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
add-license: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # Required to retrieve full commit history | |
persist-credentials: false # Required to allow the use of the token to push back to the repository | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- name: Add License | |
run: | | |
python scripts/add_license.py | |
- uses: GuillaumeFalourd/[email protected] | |
with: | |
email: "[email protected]" | |
name: "GitHub Actions Bot" | |
commit_message: "Add license to files" | |
target_branch: main |