Skip to content

Commit 9983aa9

Browse files
committed
Fix date range
1 parent 2bfa1b8 commit 9983aa9

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

workflow-dispatch/dist/index.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29760,7 +29760,7 @@ class NextRunFinder {
2976029760
.truncatedTo(ChronoUnit.SECONDS);
2976129761
for (let i = 0; i < 30; i++) {
2976229762
const response = await this.octokit.actions.listWorkflowRuns({
29763-
created: `${minCreated}...${maxCreated}`,
29763+
created: `${minCreated}..${maxCreated}`,
2976429764
event: "workflow_dispatch",
2976529765
owner: this.params.owner,
2976629766
ref: this.params.ref,
@@ -29819,7 +29819,7 @@ class MarkerRunFinder {
2981929819
.truncatedTo(ChronoUnit.SECONDS);
2982029820
for (let i = 0; i < 30; i++) {
2982129821
const response = await this.octokit.actions.listWorkflowRuns({
29822-
created: `${minCreated}...${maxCreated}`,
29822+
created: `${minCreated}..${maxCreated}`,
2982329823
event: "workflow_dispatch",
2982429824
owner: this.params.owner,
2982529825
ref: this.params.ref,
@@ -29901,12 +29901,11 @@ async function main() {
2990129901
coreExports.info("Created workflow dispatch");
2990229902
const runId = await runFinder.find();
2990329903
if (runId === undefined) {
29904-
coreExports.info("Could not find created workflow run");
2990529904
if (wait) {
2990629905
coreExports.setFailed("Could not find workflow run");
2990729906
}
2990829907
else {
29909-
coreExports.warning("Could not find workflow run", { title: "Workflow Dispatch" });
29908+
coreExports.warning("Could not find workflow run");
2991029909
}
2991129910
return;
2991229911
}

workflow-dispatch/src/dispatch.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class NextRunFinder implements RunFinder {
3838
.truncatedTo(ChronoUnit.SECONDS);
3939
for (let i = 0; i < 30; i++) {
4040
const response = await this.octokit.actions.listWorkflowRuns({
41-
created: `${minCreated}...${maxCreated}`,
41+
created: `${minCreated}..${maxCreated}`,
4242
event: "workflow_dispatch",
4343
owner: this.params.owner,
4444
ref: this.params.ref,
@@ -104,7 +104,7 @@ class MarkerRunFinder implements RunFinder {
104104
.truncatedTo(ChronoUnit.SECONDS);
105105
for (let i = 0; i < 30; i++) {
106106
const response = await this.octokit.actions.listWorkflowRuns({
107-
created: `${minCreated}...${maxCreated}`,
107+
created: `${minCreated}..${maxCreated}`,
108108
event: "workflow_dispatch",
109109
owner: this.params.owner,
110110
ref: this.params.ref,

workflow-dispatch/src/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,10 @@ async function main() {
5252
info("Created workflow dispatch");
5353
const runId = await runFinder.find();
5454
if (runId === undefined) {
55-
info("Could not find created workflow run");
5655
if (wait) {
5756
setFailed("Could not find workflow run");
5857
} else {
59-
warning("Could not find workflow run", { title: "Workflow Dispatch" });
58+
warning("Could not find workflow run");
6059
}
6160
return;
6261
}

0 commit comments

Comments
 (0)