{"id":20490155,"url":"https://github.com/open-turo/action-conditional-pr-comment","last_synced_at":"2026-02-12T17:02:28.705Z","repository":{"id":62130531,"uuid":"557558081","full_name":"open-turo/action-conditional-pr-comment","owner":"open-turo","description":"GitHub Action that supports instructing the author of a Pull Request (PR) how to resolve a given problem within the context of a PR. Conditionally adds a comment to the PR with resolution instructions, and once the condition is found to be resolved, allows the previously added comment, if one exists at that time, to be removed from the PR.","archived":false,"fork":false,"pushed_at":"2025-10-14T19:57:52.000Z","size":23,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2026-01-24T01:45:35.060Z","etag":null,"topics":["action","actions","ci","gha","github"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/open-turo.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-10-25T22:40:59.000Z","updated_at":"2025-10-14T19:57:57.000Z","dependencies_parsed_at":"2025-05-20T15:39:06.278Z","dependency_job_id":"45828b7c-bcc0-48bf-a93c-b5e8560b861b","html_url":"https://github.com/open-turo/action-conditional-pr-comment","commit_stats":{"total_commits":8,"total_committers":4,"mean_commits":2.0,"dds":0.5,"last_synced_commit":"668816f4bae3d4f25f176589d8cd0028a44c92b1"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/open-turo/action-conditional-pr-comment","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-turo%2Faction-conditional-pr-comment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-turo%2Faction-conditional-pr-comment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-turo%2Faction-conditional-pr-comment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-turo%2Faction-conditional-pr-comment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/open-turo","download_url":"https://codeload.github.com/open-turo/action-conditional-pr-comment/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-turo%2Faction-conditional-pr-comment/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29373837,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T08:51:36.827Z","status":"ssl_error","status_checked_at":"2026-02-12T08:51:26.849Z","response_time":55,"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":["action","actions","ci","gha","github"],"created_at":"2024-11-15T17:15:44.367Z","updated_at":"2026-02-12T17:02:28.688Z","avatar_url":"https://github.com/open-turo.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# action-conditional-pr-comment\n\n[![Release](https://img.shields.io/github/v/release/open-turo/action-renovate)](https://github.com/open-turo/eslint-config-typescript/releases/)\n[![Tests pass/fail](https://img.shields.io/github/actions/workflow/status/open-turo/action-renovate/ci.yaml)](https://github.com/open-turo/action-renovate/actions/)\n[![License](https://img.shields.io/github/license/open-turo/action-renovate)](./LICENSE)\n[![Contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg)](https://github.com/dwyl/esta/issues)\n![CI](https://github.com/open-turo/action-renovate/actions/workflows/release.yaml/badge.svg)\n[![semantic-release: angular](https://img.shields.io/badge/semantic--release-angular-e10079?logo=semantic-release)](https://github.com/semantic-release/semantic-release)\n[![Conventional commits](https://img.shields.io/badge/conventional%20commits-1.0.2-%23FE5196?logo=conventionalcommits\u0026logoColor=white)](https://conventionalcommits.org)\n[![Join us!](https://img.shields.io/badge/Turo-Join%20us%21-593CFB.svg)](https://turo.com/jobs)\n\n\u003c!-- prettier-ignore-start --\u003e\n\n\u003c!-- action-docs-description source=\"action.yaml\" --\u003e\n## Description\n\nGitHub Action that supports instructing the author of a Pull Request (PR) how to resolve a given problem within the context of a PR. Conditionally adds a comment to the PR with resolution instructions, and once the condition is found to be resolved, allows the previously added comment, if one exists at that time, to be removed from the PR.\n\u003c!-- action-docs-description source=\"action.yaml\" --\u003e\n\n\u003c!-- action-docs-usage source=\"action.yaml\" project=\"open-turo/action-conditional-pr-comment\" version=\"\u003cversion\u003e\" --\u003e\n## Usage\n\n```yaml\n- uses: open-turo/action-conditional-pr-comment@\u003cversion\u003e\n  with:\n    workflow:\n    # ADD indicates the comment is to be added/updated to/within the PR, REMOVE indicates the comment is to be removed from the PR.\n    #\n    # Required: true\n    # Default: \"\"\n\n    text-detector:\n    # This is some unique verbatim subset of the comment that is to be used to determine if a comment has already been created against the PR that instructs the author how to resolve the given problem.\n    #\n    # Required: true\n    # Default: created by action-conditional-pr-comment\n\n    github-token:\n    # GitHub token that can add/update/delete comments. e.g. 'secrets.GITHUB_TOKEN'\n    #\n    # Required: true\n    # Default: \"\"\n\n    comment:\n    # This is the full text of the message to be placed within a comment of the given PR to instruct the author of the PR how to resolve a given problem. This value should be provided for all ADD workflows.\n    #\n    # Required: false\n    # Default: fixme\n\n    comment-author:\n    # The author of the comment upon addition.\n    #\n    # Required: false\n    # Default: open-turo-bot\n\n    edit-mode:\n    # The mode when updating a comment, \"replace\" or \"append\".\n    #\n    # Required: false\n    # Default: append\n```\n\u003c!-- action-docs-usage source=\"action.yaml\" project=\"open-turo/action-conditional-pr-comment\" version=\"\u003cversion\u003e\" --\u003e\n\n\u003c!-- action-docs-inputs source=\"action.yaml\" --\u003e\n## Inputs\n\n| name | description | required | default |\n| --- | --- | --- | --- |\n| `workflow` | \u003cp\u003eADD indicates the comment is to be added/updated to/within the PR, REMOVE indicates the comment is to be removed from the PR.\u003c/p\u003e | `true` | `\"\"` |\n| `text-detector` | \u003cp\u003eThis is some unique verbatim subset of the comment that is to be used to determine if a comment has already been created against the PR that instructs the author how to resolve the given problem.\u003c/p\u003e | `true` | `created by action-conditional-pr-comment` |\n| `github-token` | \u003cp\u003eGitHub token that can add/update/delete comments. e.g. 'secrets.GITHUB_TOKEN'\u003c/p\u003e | `true` | `\"\"` |\n| `comment` | \u003cp\u003eThis is the full text of the message to be placed within a comment of the given PR to instruct the author of the PR how to resolve a given problem. This value should be provided for all ADD workflows.\u003c/p\u003e | `false` | `fixme` |\n| `comment-author` | \u003cp\u003eThe author of the comment upon addition.\u003c/p\u003e | `false` | `open-turo-bot` |\n| `edit-mode` | \u003cp\u003eThe mode when updating a comment, \"replace\" or \"append\".\u003c/p\u003e | `false` | `append` |\n\u003c!-- action-docs-inputs source=\"action.yaml\" --\u003e\n\n\u003c!-- action-docs-outputs source=\"action.yaml\" --\u003e\n\n\u003c!-- action-docs-outputs source=\"action.yaml\" --\u003e\n\n\u003c!-- action-docs-runs source=\"action.yaml\" --\u003e\n## Runs\n\nThis action is a `composite` action.\n\u003c!-- action-docs-runs source=\"action.yaml\" --\u003e\n\n\u003c!-- prettier-ignore-end --\u003e\n\n## Development\n\nInstall [pre-commit](https://pre-commit.com/) and the commit hooks:\n\n```shell\npre-commit install\npre-commit install --hook-type commit-msg\n```\n\n## Get Help\n\nPlease review Issues, post new Issues against this repository as needed.\n\n## Contributions\n\nPlease see [here](https://github.com/open-turo/contributions) for guidelines on\nhow to contribute to this project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopen-turo%2Faction-conditional-pr-comment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopen-turo%2Faction-conditional-pr-comment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopen-turo%2Faction-conditional-pr-comment/lists"}