Add auto update configuration

This commit is contained in:
José De Freitas 2021-03-01 07:36:00 -05:00 committed by GitHub
parent a4709a29ac
commit 9246b69bdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,10 +17,20 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Setup Python - name: Setup Python
uses: actions/setup-python@v2 uses: actions/setup-python@v2
with: with:
python-version: 3.9.1 python-version: 3.9.1
- name: Execute linter - name: Execute linter
run: | run: |
python linter/lint.py python linter/lint.py
- name: Commit to the repo
run: |
git config --global user.name "JoseDeFreitas/awesome-youtubers"
git config --global user.email "awesome-youtubers[bot]@JoseDeFreitas.github.io"
git add .
git commit -m 'Update generated files' || echo
git push