forked from charmixer/auto-changelog-action
-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
"inherit" behavior is not being honored for boolean inputs #23
Labels
bug
Something isn't working
Comments
I personally prefer opt-in. This should be the default. |
k0da
added a commit
to k8gb-io/k8gb
that referenced
this issue
Mar 22, 2021
Due to bug janheinrichmerker/action-github-changelog-generator#23 we have to set booleans explicitly. Signed-off-by: Dinar Valeev <[email protected]>
k0da
added a commit
to k8gb-io/k8gb
that referenced
this issue
Mar 22, 2021
Due to bug janheinrichmerker/action-github-changelog-generator#23 we have to set booleans explicitly. Signed-off-by: Dinar Valeev <[email protected]>
k0da
added a commit
to k8gb-io/k8gb
that referenced
this issue
Mar 22, 2021
Due to bug janheinrichmerker/action-github-changelog-generator#23 we have to set booleans explicitly. Signed-off-by: Dinar Valeev <[email protected]>
boswelja
added a commit
to boswelja/WatchConnectionLib
that referenced
this issue
Apr 26, 2021
Due to a bug (janheinrichmerker/action-github-changelog-generator#23), the default inherit mode for inputs is ignored and they're all set to false.
Can we get an update on this? Either set defaults for inputs or fix the inherit behavior. |
Thanks @roobre, very good catch! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The documentation states that many boolean inputs (e.g.
issues
,issuesWoLabels
,pullRequests
,prWoLabels
) default to the defaults of https://github.com/github-changelog-generator/github-changelog-generator. However, this is not currently the case.The
istrue
helper will returnfalse
for empty variables, resulting in all ommited boolean parameters to default tofalse
.Reproduce
Use the action without specifying
issues
,issuesWoLabels
,pullRequests
andprWoLabels
. It will generate an empty changelog.Expected behavior
Boolean inputs should respect the defaults of https://github.com/github-changelog-generator/github-changelog-generator.
Additional context
This can be fixed by wrapping lines that use
istrue
with
-n
test as well:The text was updated successfully, but these errors were encountered: