Skip to content

Commit 3fbe608

Browse files
committed
Remove invalid and unnecessary error handling for release_id being missing when event is pull_request.
1 parent fe4dc00 commit 3fbe608

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

action.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,6 @@ runs:
4343
core.error(`The ${context.eventName} event is not supported by this action.`);
4444
}
4545
46-
if (context.eventName === 'pull_request' && length("${{ inputs.release_id }}") === 0) {
47-
throw new Error(`Event is ${context.eventName} but inputs.release_id is not provided.`);
48-
}
49-
5046
// Function to check if a value is unique in an array
5147
function onlyUnique(value, index, array) {
5248
return array.indexOf(value) === index;

0 commit comments

Comments
 (0)