{"id":20942551,"url":"https://github.com/wow-actions/auto-comment","last_synced_at":"2025-05-13T23:33:09.618Z","repository":{"id":54047394,"uuid":"298269086","full_name":"wow-actions/auto-comment","owner":"wow-actions","description":"💬 Automatically comment issues or PRs on events triggered","archived":false,"fork":false,"pushed_at":"2022-12-16T07:57:07.000Z","size":550,"stargazers_count":35,"open_issues_count":13,"forks_count":13,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-05T19:49:44.004Z","etag":null,"topics":["comment","github-actions"],"latest_commit_sha":null,"homepage":"","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/wow-actions.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}},"created_at":"2020-09-24T12:17:06.000Z","updated_at":"2025-04-14T17:52:06.000Z","dependencies_parsed_at":"2023-01-11T17:23:16.421Z","dependency_job_id":null,"html_url":"https://github.com/wow-actions/auto-comment","commit_stats":{"total_commits":47,"total_committers":5,"mean_commits":9.4,"dds":0.1063829787234043,"last_synced_commit":"b530c95a448acaa039ccdddfb27a26c4fb90045f"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wow-actions%2Fauto-comment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wow-actions%2Fauto-comment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wow-actions%2Fauto-comment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wow-actions%2Fauto-comment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wow-actions","download_url":"https://codeload.github.com/wow-actions/auto-comment/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254043218,"owners_count":22004912,"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":["comment","github-actions"],"created_at":"2024-11-18T23:28:08.511Z","updated_at":"2025-05-13T23:33:04.592Z","avatar_url":"https://github.com/wow-actions.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e💬 Auto Comment\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/wow-actions/auto-comment/actions/workflows/release.yml\"\u003e\u003cimg alt=\"build\" src=\"https://img.shields.io/github/actions/workflow/status/wow-actions/auto-comment/release.yml?branch=master\u0026logo=github\u0026style=flat-square\" \u003e\u003c/a\u003e\n  \u003ca href=\"/wow-actions/auto-comment/blob/master/LICENSE\"\u003e\u003cimg alt=\"MIT License\" src=\"https://img.shields.io/github/license/wow-actions/auto-comment?style=flat-square\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.typescriptlang.org\" rel=\"nofollow\"\u003e\u003cimg alt=\"Language\" src=\"https://img.shields.io/badge/language-TypeScript-blue.svg?style=flat-square\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/wow-actions/auto-comment/pulls\"\u003e\u003cimg alt=\"PRs Welcome\" src=\"https://img.shields.io/badge/PRs-Welcome-brightgreen.svg?style=flat-square\" \u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/marketplace/actions/auto-comment\" rel=\"nofollow\"\u003e\u003cimg alt=\"website\" src=\"https://img.shields.io/static/v1?label=\u0026labelColor=505050\u0026message=Marketplace\u0026color=0076D6\u0026style=flat-square\u0026logo=google-chrome\u0026logoColor=0076D6\" \u003e\u003c/a\u003e\n  \u003ca href=\"https://lgtm.com/projects/g/wow-actions/auto-comment/context:javascript\" rel=\"nofollow\"\u003e\u003cimg alt=\"Language grade: JavaScript\" src=\"https://img.shields.io/lgtm/grade/javascript/g/wow-actions/auto-comment.svg?logo=lgtm\u0026style=flat-square\" \u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eAutomatically comment issues or PRs on events triggered.\u003c/strong\u003e\n\u003c/p\u003e\n\n## 🚀 Usage\n\nCreate a `.github/workflows/auto-comment.yml` file in the repository you want to install this action, then add the following to it:\n\n```yml\nname: Auto Comment\non: [issues, pull_request]\njobs:\n  run:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: wow-actions/auto-comment@v1\n        with:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          issuesOpened: |\n            👋 @{{ author }}\n            Thank you for raising an issue. We will will investigate into the matter and get back to you as soon as possible.\n            Please make sure you have given us as much context as possible.\n\n          pullRequestOpened: |\n            👋 @{{ author }}\n            Thank you for raising your pull request.\n            Please make sure you have followed our contributing guidelines. We will review it as soon as possible\n```\n\nThere are a couple of events that you will need to setup depending on what you want.\n\n### Available Events\n\n- issuesOpened\n- issuesEdited\n- issuesDeleted\n- issuesTransferred\n- issuesPinned\n- issuesUnpinned\n- issuesClosed\n- issuesReopened\n- issuesAssigned\n- issuesUnassigned\n- issuesLabeled\n- issuesUnlabeled\n- issuesLocked\n- issuesUnlocked\n- issuesMilestoned\n- issuesDemilestoned\n- pullRequestAssigned\n- pullRequestUnassigned\n- pullRequestLabeled\n- pullRequestUnlabeled\n- pullRequestEdited\n- pullRequestOpened\n- pullRequestClosed\n- pullRequestMerged\n- pullRequestReopened\n- pullRequestSynchronize\n- pullRequestReadyForReview\n- pullRequestLocked\n- pullRequestUnlocked\n- pullRequestReviewRequested\n- pullRequestReviewRequestRemoved\n\nAnd we can also add reactions to comment with `[eventName]Comment` and `[eventName]Reactions` input. Available reactions:\n\n| content    | emoji |\n| ---------- | :---: |\n| `+1`       |  👍   |\n| `-1`       |  👎   |\n| `laugh`    |  😄   |\n| `confused` |  😕   |\n| `heart`    |  ❤️   |\n| `hooray`   |  🎉   |\n| `rocket`   |  🚀   |\n| `eyes`     |  👀   |\n\n```yml\nname: Auto Comment\non: [issues, pull_request]\njobs:\n  run:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: wow-actions/auto-comment@v1\n        with:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          issuesOpenedReactions: 'hooray, +1'\n          issuesOpenedComment: |\n            👋 @{{ author }}\n            Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.\n            Please make sure you have given us as much context as possible.\n```\n\n### Available Placeholders\n\n| Name | Description |\n| --- | --- |\n| {{ author }} | The GitHub username of the person who opened the issue/pr |\n| {{ id }} | The numeric id of the issue/pr |\n| {{ payload.* }} | The payload of the [issue/pr](https://docs.github.com/cn/rest/pulls/pulls#get-a-pull-request) |\n\n## 🔖 License\n\nThe scripts and documentation in this project are released under the [MIT License](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwow-actions%2Fauto-comment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwow-actions%2Fauto-comment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwow-actions%2Fauto-comment/lists"}