-
Notifications
You must be signed in to change notification settings - Fork 194
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1132 from ewels/fix-linting-push-behaviour
Hopefully this will fix 'git push' on some PRs
- Loading branch information
Showing
1 changed file
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,9 +43,13 @@ jobs: | |
if: steps.prettier_status.outputs.result == 'fail' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# push.default stuff is because branch names can vary | ||
# See https://github.com/github/hub/issues/821#issuecomment-255531557 | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "nf-core-bot" | ||
git config user.email "[email protected]" | ||
git config user.name "nf-core-bot" | ||
git config push.default upstream | ||
git config [email protected]:.pushInsteadOf git://github.com/ | ||
git add . | ||
git status | ||
git commit -m "[automated] Fix linting with Prettier" | ||
|