Slide 14
Slide 14 text
© 2023 SRE Holdings Corporation
•
• @actions/core
•
⁃ @actions/github Octokit GitHub API
package.json & package-lock.json
14
// Octokit
const octokit = getOctokit(token);
// Issue
await octokit.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
"LGTM!"
});