From 519a9e29be3dba60bb39e091d14d0e92493c2454 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Fri, 2 Jul 2021 17:30:59 +1000 Subject: [PATCH] Fix git login [ci skip] --- .github/workflows/autoblack.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/autoblack.yml b/.github/workflows/autoblack.yml index 45a34fa12..6e75e7d74 100644 --- a/.github/workflows/autoblack.yml +++ b/.github/workflows/autoblack.yml @@ -21,6 +21,9 @@ jobs: if: failure() run: | black spacy + git config --global user.name 'explosion-bot' + git config --global user.email 'explosion-bot@users.noreply.github.com' + git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY git status git add -A git commit -am "Auto-format code with black" @@ -31,6 +34,8 @@ jobs: labels: meta author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> body: _This PR is auto-generated._ + branch: autoblack + delete-branch: true draft: false - name: Check outputs run: |