{"id":15774269,"url":"https://github.com/benelan/need-info-action","last_synced_at":"2026-01-31T18:32:29.744Z","repository":{"id":36963425,"uuid":"402918846","full_name":"benelan/need-info-action","owner":"benelan","description":"A GitHub Action that requests more info when required content is not included in an issue.","archived":false,"fork":false,"pushed_at":"2023-03-07T07:59:35.000Z","size":1753,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-26T03:51:24.034Z","etag":null,"topics":["automation","github-action","project-management","published","typescript"],"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/benelan.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2021-09-03T23:20:27.000Z","updated_at":"2024-07-09T10:24:18.000Z","dependencies_parsed_at":"2024-10-25T05:27:41.473Z","dependency_job_id":"e6dfcc8b-0cb4-43b3-985a-d85cdb5e79c5","html_url":"https://github.com/benelan/need-info-action","commit_stats":{"total_commits":122,"total_committers":4,"mean_commits":30.5,"dds":0.4508196721311475,"last_synced_commit":"224a5c7f08c85fc6f6c3d3f1a90dd933adeab514"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":"actions/typescript-action","purl":"pkg:github/benelan/need-info-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benelan%2Fneed-info-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benelan%2Fneed-info-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benelan%2Fneed-info-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benelan%2Fneed-info-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benelan","download_url":"https://codeload.github.com/benelan/need-info-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benelan%2Fneed-info-action/sbom","scorecard":{"id":232341,"data":{"date":"2025-08-11","repo":{"name":"github.com/benelan/need-info-action","commit":"224a5c7f08c85fc6f6c3d3f1a90dd933adeab514"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/close-issue.yml:1","Warn: no topLevel permission defined: .github/workflows/verify-issue.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":"Code-Review","score":0,"reason":"Found 0/17 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":"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":"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":"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":"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/close-issue.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/benelan/need-info-action/close-issue.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/verify-issue.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/benelan/need-info-action/verify-issue.yml/main?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction 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":"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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 13 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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-67hx-6x53-jw92","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-j8xg-fqg3-53r7"],"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-17T05:04:16.440Z","repository_id":36963425,"created_at":"2025-08-17T05:04:16.440Z","updated_at":"2025-08-17T05:04:16.440Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28949404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T18:30:42.805Z","status":"ssl_error","status_checked_at":"2026-01-31T18:30:19.593Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["automation","github-action","project-management","published","typescript"],"created_at":"2024-10-04T16:20:49.410Z","updated_at":"2026-01-31T18:32:29.724Z","avatar_url":"https://github.com/benelan.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Need Info](https://github.com/benelan/need-info-action/actions/workflows/verify-issue.yml/badge.svg)](https://github.com/benelan/need-info-action/actions/workflows/verify-issue.yml)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n# Need More Info\n\nA GitHub Action that requests more info when required content is not included in an issue. You can check out test runs [here](https://github.com/benelan/need-info-action/issues?q=is%3Aissue+is%3Aclosed+label%3Atest).\n\n- [Need More Info](#need-more-info)\n  - [Configuration](#configuration)\n    - [Example Workflow File](#example-workflow-file)\n    - [Config Properties](#config-properties)\n    - [Example Config File](#example-config-file)\n  - [How It Works](#how-it-works)\n    - [Issue Event Webhook](#issue-event-webhook)\n    - [Comment Event Webhook](#comment-event-webhook)\n  - [Closing Issues](#closing-issues)\n    - [Example Issue Closing Workflow](#example-issue-closing-workflow)\n\n## Configuration\n\nThe Action has two properties that have defaults and are not required.\n\n- **config-path**: Path to the config file, defaults to `.github/need-info.yml`\n- **repo-token**: Token for the repository, defaults to `${{ github.token }}`\n\n### Example Workflow File\n\n```yaml\n# .github/workflows/verify-info.yml\nname: 'Need Info - Verify'\non:\n  issues:\n    types: [labeled]\n    branches: [master]\n  issue_comment:\n    types: [created]\n    branches: [master]\njobs:\n  verify:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: benelan/need-info-action@v2\n        # the rest is not required if using the defaults\n        with:\n          github-token: 'super-duper-secret-token-sshhh'\n          config-path: '.github/configs/not-default.yml'\n```\n\n### Config Properties\n\nThe following properties can be set in the configuration file.\n\n| Config Property            | Type       | Description                                                                                   |\n| -------------------------- | ---------- | --------------------------------------------------------------------------------------------- |\n| requiredItems _(required)_ | InfoItem[] | Items that an issue with a labelToCheck must include, triggers a response if they are missing |\n| labelsToCheck _(required)_ | string[]   | Labels that trigger a check for InfoItem content                                              |\n| labelToAdd _(required)_    | string     | Label added to issues with missing information                                                |\n| commentHeader              | string     | Comment message to add above the ItemInfo responses                                           |\n| commentFooter              | string     | Comment message to add below the ItemInfo responses                                           |\n| caseSensitive              | boolean    | Whether InfoItem content is case sensitive, default: false                                    |\n| excludeComments            | boolean    | Exclude content in markdown comments when parsing for InfoItem content, default: false        |\n| exemptUsers                | string[]   | Users that are exempt from providing InfoItem content                                         |\n| includedItems              | InfoItem[] | Items that trigger a response if they are included and the action found missing requiredItems |\n\n| InfoItem Property       | Type     | Description                                                         |\n| ----------------------- | -------- | ------------------------------------------------------------------- |\n| content _(required)_    | string[] | A list of content to check for in an issue or comment               |\n| response _(required)_   | string   | A response to comment on an issue if requirements are not satisfied |\n| requireAll _(required)_ | boolean  | Whether to require all of the content items or just one             |\n\n### Example Config File\n\n```yaml\n# .github/need-info.yml\nlabelToAdd: 'need more info'\nlabelsToCheck:\n  - 'bug'\n  - 'enhancement'\nrequiredItems:\n  - content:\n      - '## Actual Behavior'\n      - '## Expected Behavior'\n    response: '- Use the appropriate format from the issue templates'\n    requireAll: true\n  - content:\n      - 'jsbin.com'\n      - 'codepen.io'\n      - 'jsfiddle.net'\n      - 'codesandbox.io'\n    response: '- A sample that reproduces the issue'\n    requireAll: false\n# optional properties below\ncommentHeader: 'More information is required to proceed:'\ncommentFooter: 'This issue will be automatically closed in a week if the information is not provided. Thanks for your understanding.'\ncaseSensitive: true\nexcludeComments: true # don't parse markdown comments in the issue/comment\nexemptUsers:\n  - benelan\nincludedItems:\n  - content:\n    - 'https://esri.github.io/calcite-components/?path=/story/components-'\n    - 'https://developers.arcgis.com/calcite-design-system/components/'\n    response: '  - @benelan will confirm that the issue is reproducible in the documentation. In the meantime, **no action is required** on your end.'\n    requireAll: false\n\n```\n\n## How It Works\n\nThe appropriate method is determined depending on whether the Action is triggered by an issue or comment event.\n\n### Issue Event Webhook\n\nThe `issues` event methods can be run on `opened`, `edited`, and/or `labeled`.\n\n\n- The `opened` action checks if an issue has at least one of the `labelsToCheck`. The `labeled` action, checks if the added label is a label to check. If so, it checks the issue body for the `requiredItems`.\n  - If the issue satisfies all of the requirements then the Action ends.\n  - If any requirement is not satisfied then `labelToAdd` is added to the issue. The Action comments on the issue with the `response` for all of the `requiredItems` that were not provided. The Action also comments with the response for the `includedItems` that are in the issue. The `includedItems` can be used to explain why certain content cannot be accepted in place of required items, among other things.\n- The `edited` action checks if an issue has the `labelToAdd`. If it does, it checks the issue body for the required items.\n  -  If the edited issue body now contains _all_ of the required items, the `labelToAdd` is removed.\n\n### Comment Event Webhook\n\nThe `issue_comment` event method can be run on `created` and/or `edited` actions.\n\n- If there is a comment on an issue with the `labelToAdd` then the Action checks the comment for any `requiredItems`.\n  - If the comment satisfies any ONE required item then the `labelToAdd` is removed from the issue.\n  - If the comment does not have any `requiredItems` then the Action ends.\n- If the commented issue does not have the `labelToAdd`, or the commenter is not the original poster, then the Action ends.\n\n\u003e **Note:** If there were multiple `requiredItems` that the commenter needed and they only provided one, the maintainer can manually ask for the additional items and add back the `labelToAdd`.\n\n## Closing Issues\n\nThis Action can be used in conjunction with [Close Stale Issues](https://github.com/marketplace/actions/close-stale-issues), which can be [set up](https://github.com/benelan/need-info-action/tree/main/.github/workflows/close-issue.yml) to close issues with the `labelToAdd` after a certain amount of time. You can check out a test run [here](https://github.com/benelan/need-info-action/issues/28).\n\n### Example Issue Closing Workflow\n\n```yaml\n# .github/workflows/close-issue.yml\nname: 'Need Info - Close'\non:\n  schedule:\n    - cron: '30 1 * * *'\njobs:\n  close:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v3\n        with:\n          days-before-stale: -1 # do not automatically label issues\n          days-before-close: 7\n          remove-stale-when-updated: false # do not automatically remove label\n          stale-issue-label: 'need more info'\n          stale-pr-label: 'need more info'\n          close-issue-message: 'This issue has been automatically closed due to missing information. We will reopen the issue if the information is provided.'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenelan%2Fneed-info-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenelan%2Fneed-info-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenelan%2Fneed-info-action/lists"}