Added .triggers back into github integration

This commit is contained in:
Matt Aitken
2022-12-28 17:27:04 +00:00
parent f0fcab67f4
commit 96e2e49b29
+1 -1
View File
@@ -7,7 +7,7 @@ const trigger = new Trigger({
apiKey: "trigger_dev_zC25mKNn6c0q",
endpoint: "ws://localhost:8889/ws",
logLevel: "debug",
on: github.repoIssueEvent({ repo: "apihero-run/jsonhero-web" }),
on: github.triggers.repoIssueEvent({ repo: "apihero-run/jsonhero-web" }),
run: async (event, ctx) => {
await ctx.logger.info(
"Inside the github-webhook workflow, received event",