mirror of
https://github.com/maciejpedzich/playlist-entry-validator.git
synced 2024-11-27 16:05:48 +01:00
Hello, World!
This commit is contained in:
parent
0378b69a1a
commit
a7cd7ae762
3
app.js
Normal file
3
app.js
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
module.exports = (app) => {
|
||||||
|
app.onAny((context) => console.log(JSON.stringify(context, null, 2)));
|
||||||
|
};
|
11
functions/index.js
Normal file
11
functions/index.js
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
const {
|
||||||
|
createLambdaFunction,
|
||||||
|
createProbot
|
||||||
|
} = require('@probot/adapter-aws-lambda-serverless');
|
||||||
|
|
||||||
|
const appFn = require('../app');
|
||||||
|
|
||||||
|
module.exports.handler = createLambdaFunction(
|
||||||
|
appFn,
|
||||||
|
{ probot: createProbot() }
|
||||||
|
);
|
5016
package-lock.json
generated
Normal file
5016
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
23
package.json
Normal file
23
package.json
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{
|
||||||
|
"name": "mackorone-playlist-pr-bot",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"description": "GitHub bot that automatically verifies PRs with new playlist entries",
|
||||||
|
"main": "dist/index.js",
|
||||||
|
"scripts": {
|
||||||
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
|
},
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "git+https://github.com/maciejpedzich/mackorone-playlist-pr-bot.git"
|
||||||
|
},
|
||||||
|
"author": "Maciej Pędzich",
|
||||||
|
"license": "MIT",
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://github.com/maciejpedzich/mackorone-playlist-pr-bot/issues"
|
||||||
|
},
|
||||||
|
"homepage": "https://github.com/maciejpedzich/mackorone-playlist-pr-bot#readme",
|
||||||
|
"dependencies": {
|
||||||
|
"@probot/adapter-aws-lambda-serverless": "^3.0.1",
|
||||||
|
"probot": "^12.2.8"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user