Skip to content

Commit

Permalink
fix: do not throw errors on missing story id. setNeutral is not imple…
Browse files Browse the repository at this point in the history
…mented in actions yet
  • Loading branch information
PatrickHeneise committed Aug 31, 2021
1 parent 48c76d6 commit a88eac0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16846,7 +16846,7 @@ An error to be thrown when given an unsupported protocol.
const storyId = getStoryId(context.payload.pull_request)

if (!storyId || storyId === null) {
core.setFailed('No story ID found.')
core.info('No story ID found.')
return
}

Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"prettier": "^2.3.2"
},
"engines": {
"node": "12"
"node": "^12||^16"
},
"release": {
"branches": [
Expand Down
2 changes: 1 addition & 1 deletion src/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ async function run() {
const storyId = getStoryId(context.payload.pull_request)

if (!storyId || storyId === null) {
core.setFailed('No story ID found.')
core.info('No story ID found.')
return
}

Expand Down

0 comments on commit a88eac0

Please sign in to comment.