From d9880bde96c16ed11839d61fdcfb40328c8cad43 Mon Sep 17 00:00:00 2001 From: aiden vigue Date: Thu, 10 Jun 2021 09:10:02 -0700 Subject: [PATCH] Update lint.yml --- .github/workflows/lint.yml | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index e7f4df7c..e91f2ad6 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,18 +13,16 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v2.3.4 - name: Run SwiftLint run: swiftlint --fix - - name: Commit changes - uses: EndBug/add-and-commit@v7 # You can change this to use a specific version - with: - add: '.' - author_name: acvigue - author_email: acvigue@me.com - default_author: user_info - message: 'Auto lint' - pull_strategy: '--no-rebase' - push: true + - name: Commit new changes to the repo + run: | + git config user.name jellyfin-bot + git config user.email team@jellyfin.org + git pull + git add . + git commit -m "auto lint" || echo + git push