proceed even if warnings
This commit is contained in:
+5
-2
@@ -506,8 +506,11 @@ function run() {
|
||||
headRef: refs.head
|
||||
});
|
||||
if (i >= 12) {
|
||||
core.setFailed('Exhausted retries. Exiting.');
|
||||
return;
|
||||
core.info(comparison.snapshot_warnings);
|
||||
core.info('Proceeding...');
|
||||
changes = comparison.changes;
|
||||
snapshot_warnings = comparison.snapshot_warnings;
|
||||
break;
|
||||
}
|
||||
else if (comparison.snapshot_warnings.trim() !== '') {
|
||||
core.info(comparison.snapshot_warnings);
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+5
-2
@@ -38,8 +38,11 @@ async function run(): Promise<void> {
|
||||
headRef: refs.head
|
||||
})
|
||||
if (i >= 12) {
|
||||
core.setFailed('Exhausted retries. Exiting.')
|
||||
return
|
||||
core.info(comparison.snapshot_warnings)
|
||||
core.info('Proceeding...')
|
||||
changes = comparison.changes
|
||||
snapshot_warnings = comparison.snapshot_warnings
|
||||
break
|
||||
} else if (comparison.snapshot_warnings.trim() !== '') {
|
||||
core.info(comparison.snapshot_warnings)
|
||||
core.info('Retrying in 10 seconds...')
|
||||
|
||||
Reference in New Issue
Block a user