{"id":16377595,"url":"https://github.com/thebusybiscuit/recently-closed-issues","last_synced_at":"2025-10-11T08:13:31.912Z","repository":{"id":40725841,"uuid":"248967238","full_name":"TheBusyBiscuit/recently-closed-issues","owner":"TheBusyBiscuit","description":"This GitHub Action was created during the 2020 GitHub Actions Hackathon. It allows you to get a list of issues that were recently closed via commits.","archived":false,"fork":false,"pushed_at":"2025-08-10T13:07:33.000Z","size":929,"stargazers_count":1,"open_issues_count":8,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-13T14:56:28.504Z","etag":null,"topics":["action","closed","commits","fixed","github","issues","recently","tickets"],"latest_commit_sha":null,"homepage":"","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/TheBusyBiscuit.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,"zenodo":null}},"created_at":"2020-03-21T12:02:21.000Z","updated_at":"2023-03-25T00:13:25.000Z","dependencies_parsed_at":"2023-10-16T08:21:25.514Z","dependency_job_id":"d70e2eea-2ccc-4f15-b580-ba0fc3d612b9","html_url":"https://github.com/TheBusyBiscuit/recently-closed-issues","commit_stats":{"total_commits":21,"total_committers":4,"mean_commits":5.25,"dds":0.5238095238095238,"last_synced_commit":"5888cf495bcd811ae4d76c2e20815c18dd2734de"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/TheBusyBiscuit/recently-closed-issues","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheBusyBiscuit%2Frecently-closed-issues","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheBusyBiscuit%2Frecently-closed-issues/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheBusyBiscuit%2Frecently-closed-issues/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheBusyBiscuit%2Frecently-closed-issues/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheBusyBiscuit","download_url":"https://codeload.github.com/TheBusyBiscuit/recently-closed-issues/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheBusyBiscuit%2Frecently-closed-issues/sbom","scorecard":{"id":139887,"data":{"date":"2025-08-11","repo":{"name":"github.com/TheBusyBiscuit/recently-closed-issues","commit":"5888cf495bcd811ae4d76c2e20815c18dd2734de"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.4,"checks":[{"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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"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":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"Code-Review","score":0,"reason":"Found 0/15 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":"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":"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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"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":"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":"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 'master'"],"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":5,"reason":"5 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-7r3h-m5j6-3q42","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-r683-j2x4-v87g"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 12 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"}}]},"last_synced_at":"2025-08-16T07:42:53.551Z","repository_id":40725841,"created_at":"2025-08-16T07:42:53.552Z","updated_at":"2025-08-16T07:42:53.552Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006756,"owners_count":26084148,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","closed","commits","fixed","github","issues","recently","tickets"],"created_at":"2024-10-11T03:43:35.682Z","updated_at":"2025-10-11T08:13:31.863Z","avatar_url":"https://github.com/TheBusyBiscuit.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Action: Retrieve issues closed by commits\nThis simple Action provides you a way to retrieve issues that were recently closed via a commit.\u003cbr\u003e\nThe GitHub API currently does not allow us to retrieve that information in any easily accessible way, hence why I made this Action myself.\n\nThis Action adheres to the syntax of [Closing issues via keywords](https://help.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword) provided by GitHub.\nIt also works with multiple issues being closed in the same commit and it is case-insensitive.\u003cbr\u003e\nExamples:\n* Fixed #123\n* Resolves #123\n* In this commit we closed #123\n* Closed #123 I have\n* Closed #123 but also fixed #124\n\nThis can be very useful if you want to assign labels to closed tickets for example.\u003cbr\u003e\n[You can find an example workflow right here](#assign-a-label-to-an-issue-if-it-was-closed-by-a-ticket)\n\n## Inputs\n\n### `token`\n**Required** The token is just a standard Access Token from GitHub, this is used for authentication.\u003cbr\u003e\nYou can use the built-in ${{ secrets.GITHUB_TOKEN }} variable for this.\n\n### `max_commits`\n**Required** This parameter determines how many commits should be retrieved. The maximal value for this is 100.\n\n## Outputs\n\n### `issues`\nThe output of this is a JSON Array of numbers, corresponding to the issue numbers that were closed via commits.\n\n## Example usages\n\n### Print out recently closed tickets\n\n```yaml\non:\n  issue:\n    types:\n      - closed\n\njobs:\n  scan:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: TheBusyBiscuit/recently-closed-issues@master\n        id: my_step_id\n        token: ${{ secrets.GITHUB_TOKEN }}\n        max_commits: 20\n      - run: echo $ {{ steps.my_step_id.outputs.issues }}\n```\n\n### Assign a label to an issue if it was closed by a ticket\nThis example will add a \"Resolved\" label to any issue that was closed via a commit.\u003cbr\u003e\nI am using the GitHub Action [maxkomarychev/octions@master](https://github.com/maxkomarychev/octions) to add the label, any action that can add labels will suffice though, this is just an example.\n\nYou can use GitHub's [expressions syntax](https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contains) to create a simple if-statement that will make a step only trigger if the currently closed issue was closed via a commit.\n\n```yaml\non:\n  issue:\n    types:\n      - closed\n\njobs:\n  label:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: TheBusyBiscuit/recently-closed-issues@master\n        id: my_step_id\n        token: ${{ secrets.GITHUB_TOKEN }}\n        max_commits: 20\n      - uses: maxkomarychev/octions/octions/issues/add-labels@master\n        if: contains(toJson(steps.my_step_id.outputs.issues), github.event.issue.number)\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          issue_number: ${{ github.event.issue.number }}\n          labels: 'Resolved'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthebusybiscuit%2Frecently-closed-issues","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthebusybiscuit%2Frecently-closed-issues","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthebusybiscuit%2Frecently-closed-issues/lists"}