Merge pull request #115 from morki/patch-1

Fix handling validation errors from workflow dispatch
This commit is contained in:
Peter Evans
2021-07-22 10:46:28 +09:00
committed by GitHub
+1 -1
View File
@@ -194,7 +194,7 @@ async function run(): Promise<void> {
const message: string = error.message
// Handle validation errors from workflow dispatch
if (
message == 'Unexpected inputs provided' ||
message.startsWith('Unexpected inputs provided') ||
(message.startsWith('Required input') &&
message.endsWith('not provided')) ||
message.startsWith('No ref found for:') ||