diff --git a/.gitignore b/.gitignore index b3d906d..2257983 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ npm-debug.log .env coverage lib +package-lock.json diff --git a/index.js b/index.js index bc42c8f..8e51b3b 100644 --- a/index.js +++ b/index.js @@ -6,7 +6,7 @@ module.exports = (app) => { // Your code here app.log.info("Yay, the app was loaded!"); - app.on("issues.opened", async (context) => { + app.on("repository.created", async (context) => { const issueComment = context.issue({ body: "Thanks for opening this issue!", }); @@ -18,4 +18,4 @@ module.exports = (app) => { // To get your app running against GitHub, see: // https://probot.github.io/docs/development/ -}; +}; \ No newline at end of file