Skip to content

Commit

Permalink
Added git fetch to GH Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanVDWeide committed May 2, 2023
1 parent 9d57fcf commit a8658ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
git config --global user.name 'autoblack'
git config --global user.email '[email protected]'
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
git fetch
git checkout $GITHUB_HEAD_REF
git commit -am "fixup: Format Python code with Black"
git push
Expand Down

0 comments on commit a8658ad

Please sign in to comment.