Fix git login [ci skip]

This commit is contained in:
Ines Montani 2021-07-02 17:30:59 +10:00
parent 8961f36415
commit 519a9e29be

View File

@ -21,6 +21,9 @@ jobs:
if: failure() if: failure()
run: | run: |
black spacy 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 status
git add -A git add -A
git commit -am "Auto-format code with black" git commit -am "Auto-format code with black"
@ -31,6 +34,8 @@ jobs:
labels: meta labels: meta
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
body: _This PR is auto-generated._ body: _This PR is auto-generated._
branch: autoblack
delete-branch: true
draft: false draft: false
- name: Check outputs - name: Check outputs
run: | run: |