Skip to content

Commit

Permalink
undef
Browse files Browse the repository at this point in the history
  • Loading branch information
ianjennings committed Jan 14, 2025
1 parent 8ea1f36 commit e5af26a
Showing 1 changed file with 8 additions and 19 deletions.
27 changes: 8 additions & 19 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40234,27 +40234,16 @@ axios.interceptors.response.use(
// core.setOutput("success", isPassed);

// create a github check for this run
let octokit = getOctokit(personalAccessToken)
let res = await octokit.rest.checks.create({
let octokit = getOctokit(personalAccessToken);

let res = await octokit.rest.repos.createCommitStatus({
owner: config.githubContext.owner,
repo: config.githubContext.repo,
name: "TestDriver.ai",
head_sha: config.githubContext.sha,
status: "completed",
conclusion: "success",
output: {
title: "TestDriver.ai Results",
summary: 'demo',
text: 'dmeo',
details_url: 'demo',
images: [
{
alt: "Dashcam.io Recording",
image_url: 'https://i.sstatic.net/SYZFJ.png?s=64',
},
],
},
sha: config.githubContext.sha,
state: "success",
target_url: 'https://example.com/build/status',
description: "The build succeeded!",
context: "continuous-integration/testdriver",
});

console.log(res);
Expand Down

0 comments on commit e5af26a

Please sign in to comment.