diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d22a26b..888cbf5 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -17,10 +17,20 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 + - name: Setup Python uses: actions/setup-python@v2 with: python-version: 3.9.1 + - name: Execute linter run: | 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