Skip to content

Commit f0e156c

Browse files
fix(deps): update dependency @probot/adapter-github-actions to v5 (#112)
* fix(deps): update dependency @probot/adapter-github-actions to v5 * Change createComment to use octokit.rest API --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: wolfy1339 <4595477+wolfy1339@users.noreply.github.com>
1 parent a4e4c0e commit f0e156c

File tree

3 files changed

+375
-2660
lines changed

3 files changed

+375
-2660
lines changed

app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default (app) => {
55
app.log.info("Yay! The app was loaded!");
66

77
app.on("issues.opened", async (context) => {
8-
return context.octokit.issues.createComment(
8+
return context.octokit.rest.issues.createComment(
99
context.issue({ body: "Hello, World!" })
1010
);
1111
});

0 commit comments

Comments
 (0)