Added .triggers back into github integration
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user