Skip to content

Commit 990a744

Browse files
Add warning for unexpected hour in codegen workflow
1 parent e542963 commit 990a744

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/codegen.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ jobs:
5555
result.batches.push(filteredServices.slice(i, i + MAX_BATCH_SIZE))
5656
}
5757
console.log(result)
58+
if (result.hour > 2) {
59+
console.warn(`Unexpected hour of the day: ${result.hour} from Date(${new Date()})`)
60+
}
5861
return result
5962
generate:
6063
uses: googleapis/google-api-java-client-services/.github/workflows/generate.yaml@main

0 commit comments

Comments
 (0)