{"id":18646753,"url":"https://github.com/metabase/cla-bot","last_synced_at":"2025-08-05T16:17:28.989Z","repository":{"id":142262655,"uuid":"167650324","full_name":"metabase/cla-bot","owner":"metabase","description":"AWS Lambda Clojure GitHub app to check whether PR authors have signed CLA.","archived":false,"fork":false,"pushed_at":"2024-08-12T11:24:00.000Z","size":18,"stargazers_count":2,"open_issues_count":1,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-11T18:12:18.310Z","etag":null,"topics":["aws","aws-lambda","aws-lambda-clojure","clojure","github-app","github-bot","license-agreement","metabase"],"latest_commit_sha":null,"homepage":"","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/metabase.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"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":"2019-01-26T04:39:23.000Z","updated_at":"2024-08-12T11:24:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"524677f7-1d6d-4b84-bcd0-3d5f235e4719","html_url":"https://github.com/metabase/cla-bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/metabase/cla-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metabase%2Fcla-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metabase%2Fcla-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metabase%2Fcla-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metabase%2Fcla-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/metabase","download_url":"https://codeload.github.com/metabase/cla-bot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metabase%2Fcla-bot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268929233,"owners_count":24330644,"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","status":"online","status_checked_at":"2025-08-05T02:00:12.334Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["aws","aws-lambda","aws-lambda-clojure","clojure","github-app","github-bot","license-agreement","metabase"],"created_at":"2024-11-07T06:22:26.503Z","updated_at":"2025-08-05T16:17:28.916Z","avatar_url":"https://github.com/metabase.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cla-bot\n\nSource code for the Metabase GitHub CLA bot. Create a GitHub app and Google Sheet with a CLA form and then go crazy.\n\n## Env vars\n\n```bash\nGITHUB_CORE_CONTRIBUTORS_WHITELIST # e.g. camsaul,tlrobinson\nGITHUB_INSTALLATION_ID # ID of GitHub app installation in given repo\nGITHUB_PRIVATE_KEY # generate private key for app and copy source of PEM file here\nGITHUB_REPO # e.g. metabase/metabase\nGOOGLE_CLIENT_ID # Create an Google API client and then go thru OAuth steps in browser/REPL\nGOOGLE_CLIENT_SECRET\nGOOGLE_REFRESH_TOKEN\nGOOGLE_SHEET_RANGE # e.g. 'Form Responses 1'!H2:H5000\nGOOGLE_SPREADSHEET_ID # look in URL of Google Sheet\n```\n\n## Create the bot\n\nGo in AWS and do it via UI or\n\n```bash\nlein uberjar \u0026\u0026\naws lambda create-function \\\n    --region us-east-1 \\\n    --function-name metabase-cla-bot  \\\n    --handler cla_bot.core::handleRequest \\\n    --runtime java8  \\\n    --memory 512 \\\n    --timeout 10 \\\n    --role arn:aws:iam::awsaccountid:role/lambda_basic_execution \\\n    --zip-file fileb://./target/cla-bot-1.0.0-standalone.jar\n```\n\n(Don't forget to add env vars as well!)\n\nSee also https://aws.amazon.com/blogs/compute/clojure/ and https://github.com/Charlynux/clojure-aws-lambda\n\n## Update the bot\n\n```bash\nlein uberjar \u0026\u0026\naws lambda update-function-code \\\n  --region us-east-1 \\\n  --function-name metabase-cla-bot  \\\n  --zip-file fileb://./target/cla-bot-1.0.0-standalone.jar\n```\n\n## GitHub App debugging\n\nCheck out https://github.com/organizations/metabase/settings/apps/YOUR_APP_NAME/advanced\n\n### License\n\nCopyright © 2019 Metabase, Inc.\n\nDistributed under the [Eclipse Public License](https://raw.githubusercontent.com/metabase/toucan/master/LICENSE.txt), same as Clojure.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetabase%2Fcla-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetabase%2Fcla-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetabase%2Fcla-bot/lists"}