{"id":13624647,"url":"https://github.com/probot/example-aws-lambda-serverless","last_synced_at":"2025-10-19T16:30:17.267Z","repository":{"id":37774655,"uuid":"332392881","full_name":"probot/example-aws-lambda-serverless","owner":"probot","description":"Probot \u0026 AWS Lamda example using Serverless","archived":false,"fork":false,"pushed_at":"2025-01-25T00:55:16.000Z","size":170,"stargazers_count":13,"open_issues_count":8,"forks_count":12,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-29T19:46:45.407Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/probot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-24T07:39:22.000Z","updated_at":"2024-07-20T05:03:32.000Z","dependencies_parsed_at":"2024-08-01T21:45:04.895Z","dependency_job_id":"8e228736-1369-4c7e-9c8a-26fb4d1c2c26","html_url":"https://github.com/probot/example-aws-lambda-serverless","commit_stats":null,"previous_names":[],"tags_count":3,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probot%2Fexample-aws-lambda-serverless","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probot%2Fexample-aws-lambda-serverless/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probot%2Fexample-aws-lambda-serverless/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probot%2Fexample-aws-lambda-serverless/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/probot","download_url":"https://codeload.github.com/probot/example-aws-lambda-serverless/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237163103,"owners_count":19265211,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T21:01:44.607Z","updated_at":"2025-10-19T16:30:16.768Z","avatar_url":"https://github.com/probot.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Probot \u0026 AWS Lambda example\n\nThis repository is an example of how to deploy the \"Hello, World\" of probot apps to [AWS Lambda](https://aws.amazon.com/lambda/) using [serverless](https://www.serverless.com/).\n\n## Local setup\n\nInstall dependencies\n\n```\nnpm install\n```\n\nStart the server\n\n```\nnpm start\n```\n\nFollow the instructions to register a new GitHub app.\n\n## Deployment\n\nIn order to deploy the app from you local environment, follow the [Serverless user guide for AWS](https://www.serverless.com/framework/docs/providers/aws/guide/quick-start/).\n\nIf you use this example as a template, make sure to update [`serverless.yml`](serverless.yml) and set new values for\n\n- `service`\n- `app`\n- `org`\n\nMake sure to create the following parameters on [https://app.serverless.com](https://app.serverless.com):\n\n- `APP_ID`\n- `PRIVATE_KEY`\n- `WEBHOOK_SECRET`\n\nFor continuous deployment via GitHub action, copy [this repository's deploy workflow](.github/workflows/deploy.yml) and create the following secrets:\n\n1. `SERVERLESS_ACCESS_KEY` - You can create a Serverless access key at `https://app.serverless.com/\u003cyour org\u003e/settings/accessKeys`\n2. `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY` - you will likely find your AWS credentials in `~/.aws/credentials`\n\n### Debug via unit tests\n1. Intall nyc and mocha: `npm install -g nyc mocha`\n1. From the VSCode `RUN AND DEBUG` menu select `Mocha` and click the green arrow to start debugging.\n\n### Debug by launching probot locally and sending it a payload \n\n1. Point your GitHub app to your local using something like smee.io\n1. Copy .env-sample to .env and populate with values specific for your GitHub app. For the `PRIVATE_KEY` replace newlines with `\\\\n` to make the string value a single line.\n1. From the VSCode `RUN AND DEBUG` menu select `Launch Probot` and click the green arrow to start debugging.\n\n## License\n\n[ISC](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprobot%2Fexample-aws-lambda-serverless","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprobot%2Fexample-aws-lambda-serverless","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprobot%2Fexample-aws-lambda-serverless/lists"}