Skip to content

Commit

Permalink
debug25
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianCArnold committed Mar 16, 2023
1 parent b816813 commit c8d3126
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions build/github.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,9 @@ function updateCheckRun(groupName, conclusion) {
const context = get_context();
const initCheck = groupMap[groupName];
const resp = yield octokit.checks.update(Object.assign({ check_run_id: initCheck.data.id, conclusion: conclusion, status: 'completed', output: {
title: `${groupName} Approvals.`,
summary: `${groupName} Approvals.`,
text: `${groupName} Approvals.`
} }, github.context.repo));
core.info(`Check run create response: ${resp.status}`);
core.info(`Check run URL: ${resp.data.url}`);
Expand Down
2 changes: 2 additions & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "require-user-approval",
"version": "0.0.24",
"version": "0.0.25",
"description": "GitHub Action that automatically checks if a set of required users have approved the pull request.",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 2 additions & 0 deletions src/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,9 @@ async function updateCheckRun(groupName: string, conclusion: 'success' | 'failur
conclusion: conclusion,
status: 'completed',
output: {
title: `${groupName} Approvals.`,
summary: `${groupName} Approvals.`,
text: `${groupName} Approvals.`
},
...github.context.repo
})
Expand Down

0 comments on commit c8d3126

Please sign in to comment.