-
Notifications
You must be signed in to change notification settings - Fork 37
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
fix(start): validate endpoint parameters (#689) #689
fix(start): validate endpoint parameters (#689) #689
Conversation
8c11e2d
to
a7cb1d7
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## maint-0.9 #689 +/- ##
=============================================
+ Coverage 59.46% 60.18% +0.72%
=============================================
Files 32 32
Lines 3298 3320 +22
=============================================
+ Hits 1961 1998 +37
+ Misses 1337 1322 -15
|
a7cb1d7
to
4df0591
Compare
4df0591
to
2199256
Compare
6d094a7
to
90fb451
Compare
docs/openapi.json
Outdated
@@ -3198,15 +3198,19 @@ | |||
"schema": { | |||
"properties": { | |||
"input_parameters": { | |||
"description": "Optional. Additional input parameters that override the ones in the workflow specification.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Optional. Additional input parameters that override the ones from the workflow specification.
docs/openapi.json
Outdated
"type": "object" | ||
}, | ||
"operational_options": { | ||
"description": "Optional. Operational options for workflow execution.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Optional. Additional operational options for workflow execution.
type: object | ||
input_parameters: | ||
description: >- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See description verbiage comments above.
@@ -56,15 +56,25 @@ check_commitlint () { | |||
npx commitlint --from="$from" --to="$to" | |||
found=0 | |||
while IFS= read -r line; do | |||
if echo "$line" | grep -qP "\(\#$pr\)$"; then | |||
commit_hash=$(echo "$line" | cut -d ' ' -f 1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of the commit message saying in a negatively-worded tense:
ci(commitlint): do not check merge commit's ancestors
What about putting a positively-worded message:
ci(commitlint): improve checking of merge commits
As we did in several other PRs such as merge-0.9-to-master ones?
90fb451
to
69f45fc
Compare
Closes reanahub/reana-client#718