{"id":18407616,"url":"https://github.com/libra-foundation/radon-comment","last_synced_at":"2025-04-12T21:14:27.645Z","repository":{"id":65432318,"uuid":"592245145","full_name":"Libra-foundation/radon-comment","owner":"Libra-foundation","description":"Comment a sumary of the radon output on a pull request.","archived":false,"fork":false,"pushed_at":"2023-12-25T15:43:03.000Z","size":216,"stargazers_count":0,"open_issues_count":11,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-12T21:14:24.008Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Libra-foundation.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-01-23T09:56:08.000Z","updated_at":"2023-01-23T09:56:15.000Z","dependencies_parsed_at":"2023-02-16T08:45:40.303Z","dependency_job_id":"aeb9d09a-dc37-455d-be43-4d2a22ec33b9","html_url":"https://github.com/Libra-foundation/radon-comment","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":"Libra-foundation/typescript-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Libra-foundation%2Fradon-comment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Libra-foundation%2Fradon-comment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Libra-foundation%2Fradon-comment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Libra-foundation%2Fradon-comment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Libra-foundation","download_url":"https://codeload.github.com/Libra-foundation/radon-comment/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248631681,"owners_count":21136562,"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-11-06T03:14:40.555Z","updated_at":"2025-04-12T21:14:27.622Z","avatar_url":"https://github.com/Libra-foundation.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/Libra-foundation/radon-comment/actions\"\u003e\u003cimg alt=\"radon-comment status\" src=\"https://github.com/Libra-foundation/radon-comment/workflows/build-test/badge.svg\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/Libra-foundation/radon-comment/actions\"\u003e\u003cimg alt=\"radon-comment status\" src=\"https://github.com/Libra-foundation/radon-comment/actions/workflows/lint.yml/badge.svg\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n# Show Radon's metrics on your PRs\n\nThis action aims to convert the raw radon output into nicer comment on your PR so that you can keep track of all the great metrics radon produce.\u003c/br\u003e\nWe higly recommend you to check up [radon](https://pypi.org/project/radon/) if you do not know this tool.\n\n## Usage:\n\n```yml\nname: Example\non:\n  pull_request:\n    branches: [\"main\"]\n\njobs:\n  comment:\n    permissions:\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Create Radon's reports\n        run: |\n          radon cc src/ -j \u003ecc.json\n          radon mi src/ -j \u003emi.json\n          radon hal src/ -j \u003ehal.json\n      - name: Comment the results on the PR\n        uses: Libra-foundation/radon-comment@V1.0\n        with:\n          cc: \"cc.json\"\n          mi: \"mi.json\"\n          hal: \"hal.json\"\n```\n\nAll the arguments are optionals and all the types of reports you give to the action will be processed and added to the comment.\nWe currently do not handle deltas but this feature is planned.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibra-foundation%2Fradon-comment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flibra-foundation%2Fradon-comment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibra-foundation%2Fradon-comment/lists"}