Skip to content

Commit a88eac0

Browse files
fix: do not throw errors on missing story id. setNeutral is not implemented in actions yet
1 parent 48c76d6 commit a88eac0

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16846,7 +16846,7 @@ An error to be thrown when given an unsupported protocol.
1684616846
const storyId = getStoryId(context.payload.pull_request)
1684716847

1684816848
if (!storyId || storyId === null) {
16849-
core.setFailed('No story ID found.')
16849+
core.info('No story ID found.')
1685016850
return
1685116851
}
1685216852

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"prettier": "^2.3.2"
6969
},
7070
"engines": {
71-
"node": "12"
71+
"node": "^12||^16"
7272
},
7373
"release": {
7474
"branches": [

src/index.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ async function run() {
1313
const storyId = getStoryId(context.payload.pull_request)
1414

1515
if (!storyId || storyId === null) {
16-
core.setFailed('No story ID found.')
16+
core.info('No story ID found.')
1717
return
1818
}
1919

0 commit comments

Comments
 (0)