bitrise-steplib / steps-danger

MIT License
1 stars 7 forks source link

Add input for --fail-on-errors flag and update dependencies #9

Closed szymonkozak closed 4 years ago

szymonkozak commented 4 years ago

In the #4 --fail-on-errors=true flag was introduced, but its value was hardcoded, this PR introduces this flag value as an input. (10c88be)

On this page: https://discuss.bitrise.io/t/run-danger-v1-0-0/10316 there is a workaround:

Set is_skippable: true on the step to revert the previous behavior.

However is_skippable flag isn’t always good option, because when this step was failed from other reason than danger fail then is_skippable: true could hide the real problem, eg. missing/invalid github/gitlab api token.

Also updated dependencies.

szymonkozak commented 4 years ago

@godrei Could you look on this?

lszucs commented 4 years ago

Hi @szymonkozak

Thanks for the PR! Apologies for the delayed response. You're argument is completely valid. However, we'd require minor changes before we merge it.

szymonkozak commented 4 years ago

@lszucs @trapacska Thanks for merging, unfortunately this PR: https://github.com/bitrise-io/bitrise-steplib/pull/2359 was closed as requested by author. What's the reason of this action?

lszucs commented 4 years ago

Hi @szymonkozak,

Based on further discussions with the product team, it was decided to introduce some changes, before release.

We shall introduce a more generic input which can accomodate any number of additional arguments.

Apologies for the confusion, I was going to notify you, but you were quicker.

Anyway, many thanks for you contribution! :)