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

Add 'git-push-sign-off' input parameter #17

Merged
merged 1 commit into from
Jan 14, 2021

Conversation

khos2ow
Copy link
Member

@khos2ow khos2ow commented Jan 14, 2021

Description

Add new git-push-sign-off to control where sign-off commit or not.

Fixes #14

Signed-off-by: Khosrow Moossavi <khos2ow@gmail.com>
@khos2ow khos2ow added the enhancement New feature or request label Jan 14, 2021
@khos2ow khos2ow merged commit 609c81f into terraform-docs:main Jan 14, 2021
local signoff
signoff=""
if [ "${GIT_PUSH_SIGN_OFF}" = "true" ]; then
signoff="-s"
Copy link

@aitorbalbas aitorbalbas Mar 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This -s should not be -S in uppercase?
lowercase s means silent not signed.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it should be -s, --signoff. There's no -S in git, AFAIR, and for that matter there's no silent mode, rather --quiet mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create a parameter to sign-off commit
2 participants