{"id":15477066,"url":"https://github.com/cdce8p/mypy-wheels","last_synced_at":"2026-04-25T12:03:21.987Z","repository":{"id":103517589,"uuid":"605325198","full_name":"cdce8p/mypy-wheels","owner":"cdce8p","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-02T19:31:55.000Z","size":247,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-03T06:23:48.785Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cdce8p.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-02-22T23:19:51.000Z","updated_at":"2026-04-02T19:32:02.000Z","dependencies_parsed_at":"2025-12-14T01:06:49.000Z","dependency_job_id":null,"html_url":"https://github.com/cdce8p/mypy-wheels","commit_stats":null,"previous_names":[],"tags_count":430,"template":false,"template_full_name":null,"purl":"pkg:github/cdce8p/mypy-wheels","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdce8p%2Fmypy-wheels","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdce8p%2Fmypy-wheels/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdce8p%2Fmypy-wheels/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdce8p%2Fmypy-wheels/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cdce8p","download_url":"https://codeload.github.com/cdce8p/mypy-wheels/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdce8p%2Fmypy-wheels/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31554109,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T10:21:54.569Z","status":"ssl_error","status_checked_at":"2026-04-08T10:21:38.171Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-10-02T03:43:12.999Z","updated_at":"2026-04-08T12:01:10.408Z","avatar_url":"https://github.com/cdce8p.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mypy wheels\n\nRepo to build custom mypy mypyc wheels.\nOnly used for personal tests.\n\nOfficial mypy test wheels can be found at: https://github.com/mypyc/mypy_mypyc-wheels/\n\n\n## How does it work?\n* Each push to the [`cdce8p/mypy`](https://github.com/cdce8p/mypy) triggers a webhook.\n* The `POST` request is send to an AWS API Gateway which calls a Lambda function.\n* That in turn validates the data and sends another `POST` request to Github Actions\nto trigger a [`repository_dispatch`](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#repository_dispatch) event.\n* The workflow first checks if the wheels already exist as release in [mypyc/mypy_mypyc-wheels](https://github.com/mypyc/mypy_mypyc-wheels/) or this repo. If not, it creates a new tag which contains a new file called `mypy_commit`.\n* This then triggers the `Build wheels` workflow.\n\n\n## Setup\n\n```bash\n# Aliases\nalias ta=\"terraform apply\"\nalias td=\"terraform destroy\"\n\n# Create Secret for data signature\nruby -rsecurerandom -e 'puts SecureRandom.hex(20)'\n```\n\n**Github PAT**  \nCreate (fine-grained) PAT token with `metadata:read` and `contents:read\u0026write` permissions for the repo.\nAdd token as `PUSH_TOKEN` to Github Action secrets.\n\n**Create `secrets.auto.tfvars`**  \n```HCL\ngithub_pat = \u003cGithub PAT\u003e\nsig_key = \u003cData signature key\u003e\nmail_source = \u003cSender email address\u003e\nmail_recipient = \u003cReceiver email address\u003e\n```\n\n**Setup webhook**  \n* Add new webhook\n    * `Payload URL`:  `\u003cTF base_url output\u003e/webhook`\n    * `Content type`: `application/json`\n    * `Secret`: `\u003cData signature key\u003e`\n    * Trigger on `push` event\n\n**Setup AWS Lambda function**  \n* Build lambda dependencies: run task `Pip build Lambda deps`.\n* Create cloud infrastructure with Terraform: `ta`\n\n\n### Refs\n\nhttps://docs.github.com/webhooks-and-events/webhooks/webhook-events-and-payloads#push\nhttps://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#repository_dispatch\nhttps://docs.github.com/en/rest/repos/repos?apiVersion=2022-11-28#create-a-repository-dispatch-event\nhttps://docs.github.com/en/webhooks-and-events/webhooks/securing-your-webhooks\nhttps://mainawycliffe.dev/blog/github-actions-trigger-via-webhooks/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdce8p%2Fmypy-wheels","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcdce8p%2Fmypy-wheels","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdce8p%2Fmypy-wheels/lists"}