Skip to content

ctcampbell/azure-probot-template

Repository files navigation

azure-probot-template

Edit src/functions/app.ts as required:

export = (app: Probot) => {
  app.on("issues.opened", async (context) => {
    const issueComment = context.issue({
      body: "Thanks for opening this issue!",
    });
    await context.octokit.issues.createComment(issueComment);
  });

Create a GitHub app and install it on a repo, then deploy this repo to an Azure Function with the following application settings:

APP_ID=.....
PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY-----\n.....
WEBHOOK_SECRET=.....

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published