{"id":24568742,"url":"https://github.com/lwhiteley/match-comment-phrase-action","last_synced_at":"2026-04-02T21:01:02.558Z","repository":{"id":62117509,"uuid":"557963533","full_name":"lwhiteley/match-comment-phrase-action","owner":"lwhiteley","description":"Trigger related actions when a comment phrase is matched for issue comments.","archived":false,"fork":false,"pushed_at":"2026-04-01T04:09:54.000Z","size":2623,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-01T06:54:53.804Z","etag":null,"topics":["actions","comments","github","github-actions","hacktoberfest","phrase","trigger"],"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/lwhiteley.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":"2022-10-26T16:25:11.000Z","updated_at":"2026-04-01T04:09:58.000Z","dependencies_parsed_at":"2025-03-17T05:38:43.657Z","dependency_job_id":null,"html_url":"https://github.com/lwhiteley/match-comment-phrase-action","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/lwhiteley/match-comment-phrase-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lwhiteley%2Fmatch-comment-phrase-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lwhiteley%2Fmatch-comment-phrase-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lwhiteley%2Fmatch-comment-phrase-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lwhiteley%2Fmatch-comment-phrase-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lwhiteley","download_url":"https://codeload.github.com/lwhiteley/match-comment-phrase-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lwhiteley%2Fmatch-comment-phrase-action/sbom","scorecard":{"id":606589,"data":{"date":"2025-08-11","repo":{"name":"github.com/lwhiteley/match-comment-phrase-action","commit":"080cd52d9e81031c54ed870ae503c012fe64ac04"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.1,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql-analysis.yml:28","Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql-analysis.yml:29","Warn: no topLevel permission defined: .github/workflows/check-dist.yml:1","Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1","Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":10,"reason":"SAST tool detected: CodeQL","details":["Info: SAST configuration detected: CodeQL","Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/check-dist.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/lwhiteley/match-comment-phrase-action/check-dist.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/check-dist.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/lwhiteley/match-comment-phrase-action/check-dist.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/check-dist.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/lwhiteley/match-comment-phrase-action/check-dist.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/lwhiteley/match-comment-phrase-action/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/lwhiteley/match-comment-phrase-action/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/lwhiteley/match-comment-phrase-action/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:71: update your workflow using https://app.stepsecurity.io/secureworkflow/lwhiteley/match-comment-phrase-action/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/lwhiteley/match-comment-phrase-action/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/lwhiteley/match-comment-phrase-action/test.yml/main?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/test.yml:15","Info:   0 out of   9 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   2 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"12 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-h5c3-5r3r-rr8q","Warn: Project is vulnerable to: GHSA-rmvr-2pp2-xj38","Warn: Project is vulnerable to: GHSA-xx4v-prfh-6cgc","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-c76h-2ccp-4975","Warn: Project is vulnerable to: GHSA-cxrh-j4jr-qwg3"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T01:44:58.903Z","repository_id":62117509,"created_at":"2025-08-21T01:44:58.903Z","updated_at":"2025-08-21T01:44:58.903Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31316099,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T12:59:32.332Z","status":"ssl_error","status_checked_at":"2026-04-02T12:54:48.875Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["actions","comments","github","github-actions","hacktoberfest","phrase","trigger"],"created_at":"2025-01-23T14:55:15.928Z","updated_at":"2026-04-02T21:01:02.522Z","avatar_url":"https://github.com/lwhiteley.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Match Comment Phrase\n\nGithub action to match a phrase within a github comment and outputs a boolean value when found by a specific mode\n\n## Example usage\n\nYour workflow needs to listen to the following events:\n\n```yml\non:\n  issue_comment:\n    types: [created, edited]\n```\n\nAnd then you can use the action in your jobs like this:\n\n```yml\njobs:\n  preview:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: lwhiteley/match-comment-phrase-action@v3\n        id: check\n        env:\n          GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'\n        with:\n          phrase: '/preview'\n          reactions: eyes\n          mode: starts_line\n      - run: 'echo Found it!'\n        if: steps.check.outputs.match_found == 'true'\n```\n\nNotes:\n\n- The provided reactions must be one of the valid reactions here: https://developer.github.com/v3/reactions/#reaction-types\n- If you specify reactions, you have to provide the `GITHUB_TOKEN` env variable.\n- By default, this action ignores phrases found in code blocks so actions are not triggered unintentionally\n\n## Modes\n\n| Output         | Description                                         |\n| -------------- | --------------------------------------------------- |\n| starts_line    | Checks if phrase starts any line of the comment     |\n| starts_comment | Checks if phrase is at the beginning of the comment |\n| within         | Checks if phrase is anywhere within the comment     |\n\n## Inputs\n\n| Input        | Required?                      | Description                                                                                                                         |\n| ------------ | ------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------- |\n| phrase       | Yes                            | the phrase to look for in the issue comment. eg '/preview'                                                                          |\n| mode         | No \u003cbr/\u003edefault: 'starts_line' | the mode is how the action checks for the phrase within the comment. possible values: starts_line, starts_comment, within           |\n| include_code | No \u003cbr/\u003edefault: 'false'       | boolean to determine if the action should also search in code blocks or simple code snippets. Only practical with the \"within\" mode |\n| own_line     | No \u003cbr/\u003edefault: 'false'       | boolean to determine if phrase is only matched if it occupies its own line. Applicable modes: \"starts_line\", \"starts_comment\"       |\n| reactions    | No \u003cbr/\u003e default: ''           | Comma separated list of valid reactions to add to the comment if phrase is found. For example, \"rocket\".                            |\n\n## Outputs\n\n| Output        | Description                                                                         |\n| ------------- | ----------------------------------------------------------------------------------- |\n| match_found   | Boolean string depending on if the phrase was found. Possible values: true or false |\n| comment_body  | The comment body.                                                                   |\n| comment_line  | The comment line where the first valid match of the phrase is found                 |\n| issue_number  | the associated issue or pull request number.                                        |\n| sha           | the associated head sha of pull request.                                            |\n| issue_creator | the creator of the issue.                                                           |\n| issue_actor   | the user that commented. Defaults to issue creator if not found                     |\n\n## Similar actions:\n\n- https://github.com/machine-learning-apps/actions-chatops\n- https://github.com/Khan/pull-request-comment-trigger\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flwhiteley%2Fmatch-comment-phrase-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flwhiteley%2Fmatch-comment-phrase-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flwhiteley%2Fmatch-comment-phrase-action/lists"}