{"id":23111842,"url":"https://github.com/dext7r/commit-comment","last_synced_at":"2026-05-11T03:02:15.368Z","repository":{"id":237410615,"uuid":"794465609","full_name":"dext7r/commit-comment","owner":"dext7r","description":"This GitHub Action allows you to automatically create a commit comment on a pull request. | 此GitHub action用于自动创建提交注评论","archived":false,"fork":false,"pushed_at":"2024-05-01T11:22:04.000Z","size":390,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-09T11:31:21.103Z","etag":null,"topics":["acttion","github","github-actions"],"latest_commit_sha":null,"homepage":"https://github.com/dext7r/commit-comment","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/dext7r.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":"2024-05-01T08:25:12.000Z","updated_at":"2024-05-02T12:24:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"e7b6952e-5581-49c9-87a8-a93d467d960b","html_url":"https://github.com/dext7r/commit-comment","commit_stats":null,"previous_names":["dext7r/commit-comment"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dext7r%2Fcommit-comment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dext7r%2Fcommit-comment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dext7r%2Fcommit-comment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dext7r%2Fcommit-comment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dext7r","download_url":"https://codeload.github.com/dext7r/commit-comment/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247097972,"owners_count":20883127,"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":["acttion","github","github-actions"],"created_at":"2024-12-17T02:11:17.036Z","updated_at":"2026-05-11T03:02:10.329Z","avatar_url":"https://github.com/dext7r.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![deploy](https://github.com/dext7r/commit-comment/actions/workflows/deploy.yml/badge.svg)\n![stars](https://badgen.net/github/stars/dext7r/commit-comment)\n![forks](https://badgen.net/github/forks/dext7r/commit-comment)\n![HitCount](http://hits.dwyl.com/dext7r/commit-comment.svg)\n[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=dext7r_commit-comment\u0026metric=alert_status)](https://sonarcloud.io/dashboard?id=dext7r_commit-comment)\n[![Technical Debt](https://sonarcloud.io/api/project_badges/quality_gate?project=dext7r_commit-comment)](https://sonarcloud.io/dashboard?id=dext7r_commit-comment)\n[![Bugs](https://sonarcloud.io/images/project_badges/sonarcloud-white.svg)](https://sonarcloud.io/dashboard?id=dext7r_commit-comment)\n\n# Commit Comment GitHub Action\n\nThis GitHub Action allows you to automatically create a commit comment on a pull request.\n\n## Usage\n\n1. Add a step in your workflow YAML file to use this action:\n\n   ```yaml\n   - name: Commit Comment\n     uses: dext7r/commit-comment@main\n     with:\n       token: ${{ secrets.GITHUB_TOKEN }}\n       body: 'This is a test comment.'\n   ```\n\n2. Configure the `token` input with a secret GitHub API token with the necessary permissions.\n\n3. Specify the `body` input with the content of the comment you want to create.\n\n## Inputs\n\n- `token` (required): Secret GitHub API token to use for making API requests.\n- `body` (required): Comment content.\n\n## Outputs\n\n- `comment_id`: The ID of the comment that was created.\n\n## Example\n\n```yaml\nname: Create Comment\non:\n  pull_request:\n    types: [opened]\n\njobs:\n  comment:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Commit Comment\n        uses: dext7r/commit-comment@main\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          body: 'Hello from GitHub Action!'\n```\n\n## Versioning\n\nThis action follows semantic versioning. See [releases](https://github.com/h7ml/commit-comment/releases) for more information about each version.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdext7r%2Fcommit-comment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdext7r%2Fcommit-comment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdext7r%2Fcommit-comment/lists"}