{"id":37746712,"url":"https://github.com/zapata-engineering/command-pr-comment","last_synced_at":"2026-01-16T14:17:44.123Z","repository":{"id":89634219,"uuid":"521980755","full_name":"zapata-engineering/command-pr-comment","owner":"zapata-engineering","description":"GitHub Action for executing a command and displaying the result as comment on a pull request.","archived":false,"fork":false,"pushed_at":"2024-05-15T20:01:06.000Z","size":1372,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"main","last_synced_at":"2024-05-16T07:24:21.660Z","etag":null,"topics":["product-development"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zapata-engineering.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":"2022-08-06T15:17:15.000Z","updated_at":"2024-05-15T20:01:07.000Z","dependencies_parsed_at":"2024-04-04T14:55:07.385Z","dependency_job_id":"c471d72f-f5a9-4093-94e5-b2cfa7a96677","html_url":"https://github.com/zapata-engineering/command-pr-comment","commit_stats":null,"previous_names":["zapata-engineering/command-pr-comment"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/zapata-engineering/command-pr-comment","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapata-engineering%2Fcommand-pr-comment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapata-engineering%2Fcommand-pr-comment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapata-engineering%2Fcommand-pr-comment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapata-engineering%2Fcommand-pr-comment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zapata-engineering","download_url":"https://codeload.github.com/zapata-engineering/command-pr-comment/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapata-engineering%2Fcommand-pr-comment/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28479355,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: 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":["product-development"],"created_at":"2026-01-16T14:17:44.048Z","updated_at":"2026-01-16T14:17:44.102Z","avatar_url":"https://github.com/zapata-engineering.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Command PR Comment\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/zapatacomputing/command-pr-comment/actions\"\u003e\u003cimg alt=\"javscript-action status\" src=\"https://github.com/zapatacomputing/command-pr-comment/workflows/units-test/badge.svg\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nThis Action is used for executing a command in Github Actions and displaying the result as comment on a pull request. This is useful for showing code coverage stats, details of failing tests and more. \n\n## Usage\n\nYou can now consume the action by referencing the v1 branch\n\n```yaml\nuses: zapatacomputing/command-pr-comment@v1\nwith:\n  command: make show-coverage-text-report\n  template: \"🚀 Code Coverage\\n```\\n%stdout%```\"\n  update-text: \"🚀 Code Coverage\"\n```\n\n## Development\n\nYou can install the dependencies with `npm`.\n\n```bash\nnpm install\n```\n\n\n## Package for distribution\n\nGitHub Actions will run the entry point from the `action.yml`. Packaging assembles the code into one file that can be checked in to Git, enabling fast and reliable execution and preventing the need to check in node_modules.\n\nActions are run from GitHub repos.  Packaging the action will create a packaged action in the dist folder.\n\nRun prepare\n\n```bash\nnpm run prepare\n```\n\nSince the packaged `index.js` is run from the `dist` directory, this will need to be updated when you make changes to `index.js`.\n\n```bash\ngit add dist\ngit commit\n```\n\n## Create a release branch\n\nUsers shouldn't consume the action from `main` since that would be latest code and actions can break compatibility between major versions.\n\nCheckin to the v1 release branch\n\n```bash\ngit checkout -b v1\ngit commit -a -m \"v1 release\"\n```\n\n```bash\ngit push origin v1\n```\n\nSee the [versioning documentation](https://github.com/actions/toolkit/blob/master/docs/action-versioning.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzapata-engineering%2Fcommand-pr-comment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzapata-engineering%2Fcommand-pr-comment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzapata-engineering%2Fcommand-pr-comment/lists"}