Skip to content

Commit 9a04ac3

Browse files
Please work
1 parent 190fe1d commit 9a04ac3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/java/io/micrometer/release/train/DependencyVerifier.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ private void waitForDependabotJobsToFinish(String orgRepository, String githubSe
219219
long timeoutMillis = timeUnit.toMillis(timeout / 2);
220220
while (System.currentTimeMillis() - startTime < timeoutMillis) {
221221
List<String> statuses = processRunner.run("gh", "run", "list", "--workflow=" + id, "-R", orgRepository,
222-
"--created=\">" + githubServerTime + "\"", "--json", "status", "--jq", ".[].status");
222+
"--created='>" + githubServerTime + "'", "--json=status", "--jq='.[].status'");
223223
if (statuses.isEmpty()) {
224224
log.info("No dependabot jobs found");
225225
}

src/test/java/io/micrometer/release/train/DependencyVerifierTests.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ class DependencyVerifierTests {
5151
".[] | select(.name==\"Dependabot Updates\") | .id" };
5252

5353
private static final String[] dependabotUpdateJobStates = { "gh", "run", "list", "--workflow=1234", "-R",
54-
"micrometer-metrics/micrometer", "--created=\">2025-02-24T10:51:29Z\"", "--json", "status", "--jq",
55-
".[].status" };
54+
"micrometer-metrics/micrometer", "--created='>2025-02-24T10:51:29Z'", "--json=status",
55+
"--jq='.[].status'" };
5656

5757
File ghServerTimeResponse = new File(
5858
DependencyVerifierTests.class.getResource("/dependencyVerifier/getGhServerTime.txt").toURI());

0 commit comments

Comments
 (0)