diff --git a/examples/nextjs-example/src/jobs/github.ts b/examples/nextjs-example/src/jobs/github.ts index f7e21928b..def95024f 100644 --- a/examples/nextjs-example/src/jobs/github.ts +++ b/examples/nextjs-example/src/jobs/github.ts @@ -49,3 +49,17 @@ new Job(client, { return { payload, ctx }; }, }); + +new Job(client, { + id: "github-integration-on-issue-commented", + name: "GitHub Integration - On Issue commented", + version: "0.1.0", + trigger: githubApiKey.triggers.repo({ + event: events.onIssueComment, + repo: "triggerdotdev/empty", + }), + run: async (payload, io, ctx) => { + await io.logger.info("This is a simple log info message"); + return { payload, ctx }; + }, +});