From baa0849f8bbcef662c2c480df075278c1ae11d0f Mon Sep 17 00:00:00 2001 From: Simon <65854503+OpenSourceSimon@users.noreply.github.com> Date: Sun, 28 May 2023 16:43:16 +0200 Subject: [PATCH] Autoblack only on develop --- .github/workflows/autoblack.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/autoblack.yml b/.github/workflows/autoblack.yml index 60bf35c..8e367fe 100644 --- a/.github/workflows/autoblack.yml +++ b/.github/workflows/autoblack.yml @@ -6,7 +6,7 @@ name: autoblack on: push: - branches: ["master"] + branches: ["develop"] jobs: build: runs-on: ubuntu-latest @@ -24,9 +24,9 @@ jobs: if: failure() run: | black . --line-length 101 - git config --global user.name 'autoblack' - git config --global user.email 'jasoncameron.all@gmail.com' + git config --global user.name github-actions + git config --global user.email 41898282+github-actions[bot]@users.noreply.github.com git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY git checkout $GITHUB_HEAD_REF git commit -am "fixup: Format Python code with Black" - git push origin HEAD:master + git push origin HEAD:develop