We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
base_branch: develop pre-push: commands: lint: run: yarn lint {push_files}
{push_files}
develop
main
This is confusing. This should be controlled by some setting in lefthook, since it's impossible to control the other way.
The text was updated successfully, but these errors were encountered:
For now you can use a workaround:
pre-push: only: - run: git remote set-head origin develop commands: ...
This will set your origin/HEAD pointing to develop branch before the {push_files} get queried.
origin/HEAD
Sorry, something went wrong.
No branches or pull requests
⚡ Summary
Value
{push_files}
contains files not agains thedevelop
, but againstmain
This is confusing. This should be controlled by some setting in lefthook, since it's impossible to control the other way.
Behavior and configuration changes
The text was updated successfully, but these errors were encountered: