Skip to content

Commit b9f25d6

Browse files
authored
Merge pull request #115 from morki/patch-1
Fix handling validation errors from workflow dispatch
2 parents 21a075d + 7b47f72 commit b9f25d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ async function run(): Promise<void> {
194194
const message: string = error.message
195195
// Handle validation errors from workflow dispatch
196196
if (
197-
message == 'Unexpected inputs provided' ||
197+
message.startsWith('Unexpected inputs provided') ||
198198
(message.startsWith('Required input') &&
199199
message.endsWith('not provided')) ||
200200
message.startsWith('No ref found for:') ||

0 commit comments

Comments
 (0)