Skip to content

Commit

Permalink
squash please
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfig committed Dec 20, 2023
1 parent 85a59a8 commit 08a847b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/manage-integration-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
script: |
const head_sha = context.workflow_run.head_sha;
const runId = context.workflow_run.id;
switch (github.context.payload.action) {
switch (context.payload.action) {
case "requested":
case "in_progress":
// Create a check run
Expand All @@ -31,13 +31,13 @@ jobs:
break;
case "completed":
// Update the check run
await github.checks.update({
...context.repo
await github.rest.checks.update({
...context.repo,
check_run_id: runId,
status: "completed",
conclusion: github.event.workflow_run.conclusion,
});
break;
default:
throw new Error(`Unknown action: ${github.context.payload.action}`);
throw new Error(`Unknown action: ${context.payload.action}`);
}

0 comments on commit 08a847b

Please sign in to comment.