From 9246b69bdda3a23c826352d02de7ea5b64d3fea5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20De=20Freitas?= <37962411+JoseDeFreitas@users.noreply.github.com> Date: Mon, 1 Mar 2021 07:36:00 -0500 Subject: [PATCH] Add auto update configuration --- .github/workflows/lint.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) 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