Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hopefully this will fix 'git push' on some PRs #1132

Merged
merged 1 commit into from
Apr 12, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/fix-linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down