proceed even if warnings

This commit is contained in:
Henri Maurer
2023-06-08 17:04:40 +01:00
parent a82096e68a
commit 1a326fc7fa
3 changed files with 11 additions and 5 deletions
Generated Vendored
+5 -2
View File
@@ -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);
Generated Vendored
+1 -1
View File
File diff suppressed because one or more lines are too long
+5 -2
View File
@@ -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...')