Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
pngwn authored Aug 6, 2024
1 parent 4783b06 commit 56aebd6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/set-commit-status/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ async function run() {

const message = "Skipped — No changes detected";

octokit.rest.repos.createCommitStatus({
const res = await octokit.rest.repos.createCommitStatus({
owner: context.repo.owner,
repo: context.repo.repo,
sha,
Expand All @@ -27,6 +27,9 @@ async function run() {
context: name,
target_url: url || workflow_run.data.html_url,
});
console.log({ sha, name, url});
console.log(JSON.stringify(workflow_run, null, 2));
console.log(JSON.stringify(res, null, 2));
}

run();

0 comments on commit 56aebd6

Please sign in to comment.