Skip to content

Commit

Permalink
initial
Browse files Browse the repository at this point in the history
  • Loading branch information
enyil committed Nov 19, 2021
1 parent ad106b8 commit fff5c4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ npm-debug.log
.env
coverage
lib
package-lock.json
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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!",
});
Expand All @@ -18,4 +18,4 @@ module.exports = (app) => {

// To get your app running against GitHub, see:
// https://probot.github.io/docs/development/
};
};

0 comments on commit fff5c4d

Please sign in to comment.