{"id":26953178,"url":"https://github.com/smartlyio/comment-to-pr-action","last_synced_at":"2025-04-03T01:20:03.655Z","repository":{"id":36956326,"uuid":"228347426","full_name":"smartlyio/comment-to-pr-action","owner":"smartlyio","description":"Comment to a PR with a message. By default, comments if message is not already present.","archived":false,"fork":false,"pushed_at":"2024-02-04T07:48:11.000Z","size":1003,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":89,"default_branch":"master","last_synced_at":"2024-04-14T06:24:34.670Z","etag":null,"topics":["github-action","javascript-action"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/smartlyio.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":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-16T09:15:06.000Z","updated_at":"2024-06-16T04:52:20.924Z","dependencies_parsed_at":"2024-02-04T08:38:05.245Z","dependency_job_id":"afe90272-f309-45b2-a2b1-fd72a27f4b5a","html_url":"https://github.com/smartlyio/comment-to-pr-action","commit_stats":{"total_commits":96,"total_committers":10,"mean_commits":9.6,"dds":0.7291666666666667,"last_synced_commit":"9a46e4ae0b66cb2137ee5b7e2217c9ace93563e5"},"previous_names":[],"tags_count":31,"template":false,"template_full_name":"actions/hello-world-javascript-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartlyio%2Fcomment-to-pr-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartlyio%2Fcomment-to-pr-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartlyio%2Fcomment-to-pr-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartlyio%2Fcomment-to-pr-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smartlyio","download_url":"https://codeload.github.com/smartlyio/comment-to-pr-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246917401,"owners_count":20854633,"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":["github-action","javascript-action"],"created_at":"2025-04-03T01:20:03.048Z","updated_at":"2025-04-03T01:20:03.632Z","avatar_url":"https://github.com/smartlyio.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Comment to PR action\n\nThis action will add a comment to a PR. If `exclusive` flag is not explicitly set to false, the comment will only be created if there is not already an identical comment present.\n\n## Inputs\n\n### `comment`\n\n**Required** The text of the comment.\n\n### `GITHUB_TOKEN`\n\n**Required** The token to access the repo, same one as is available in the action.\n\n### `exclusive`\n\n**Optional** Do not comment if there is already an identical comment. Default true.\n\n## Example usage\n\n```yaml\nuses: smartlyio/comment-to-pr-action@v3\nwith:\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n  comment: 'The kittens have decreed that this PR is acceptable!'\n```\n## Development\n\n### Development scripts\n\n- Run typescript: `npm run compile`\n- Run test: `npm run test`\n- Run linters: `npm run lint`\n\nRun all the above: `npm run all`\n\n### Release new version\n\nFollow these steps to release a new version\n\n1. Create release branch: `git checkout -b v{next-version}`\n2. Compile your `index.js` file. `ncc build index.js`\n3. Push the required changes to git:\n    `git add dist/index.js`\n    `git commit -m \"New version with great changes\"`\n    `git push`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmartlyio%2Fcomment-to-pr-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmartlyio%2Fcomment-to-pr-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmartlyio%2Fcomment-to-pr-action/lists"}