{"id":13517007,"url":"https://github.com/dessant/lock-threads-app","last_synced_at":"2025-09-29T08:31:57.659Z","repository":{"id":55942581,"uuid":"240912048","full_name":"dessant/lock-threads-app","owner":"dessant","description":"🤖 GitHub App that locks closed issues and pull requests after a period of inactivity","archived":true,"fork":false,"pushed_at":"2021-07-03T16:13:31.000Z","size":225,"stargazers_count":15,"open_issues_count":1,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-14T04:04:15.194Z","etag":null,"topics":["github-app","issues","lock","probot","probot-app","pull-requests"],"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/dessant.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}},"created_at":"2020-02-16T15:08:56.000Z","updated_at":"2024-08-11T13:55:00.000Z","dependencies_parsed_at":"2022-08-15T10:00:41.686Z","dependency_job_id":null,"html_url":"https://github.com/dessant/lock-threads-app","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dessant%2Flock-threads-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dessant%2Flock-threads-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dessant%2Flock-threads-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dessant%2Flock-threads-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dessant","download_url":"https://codeload.github.com/dessant/lock-threads-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234604488,"owners_count":18859164,"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":["github-app","issues","lock","probot","probot-app","pull-requests"],"created_at":"2024-08-01T05:01:28.440Z","updated_at":"2025-09-29T08:31:52.348Z","avatar_url":"https://github.com/dessant.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Lock Threads\n\n[![Version](https://img.shields.io/npm/v/lock-threads.svg?colorB=007EC6)](https://www.npmjs.com/package/lock-threads)\n\n\u003e This project is no longer maintained, please migrate to [Lock Threads](https://github.com/dessant/lock-threads).\n\nLock Threads is a GitHub App inspired by [Stale](https://github.com/probot/stale)\nand built with [Probot](https://github.com/probot/probot)\nthat locks closed issues and pull requests after a period of inactivity.\n\n![](assets/screenshot.png)\n\n## Usage\n\n1. **[Install the GitHub App]()**\n   for the intended repositories\n2. Create `.github/lock.yml` based on the template below\n3. It will start scanning for closed issues and/or pull requests within an hour\n\n**If possible, install the app only for select repositories.\nDo not leave the `All repositories` option selected, unless you intend\nto use the app for all current and future repositories.**\n\n#### Configuration\n\nCreate `.github/lock.yml` in the default branch to enable the app,\nor add it at the same file path to a repository named `.github`.\nThe file can be empty, or it can override any of these default settings:\n\n```yaml\n# Configuration for Lock Threads - https://github.com/dessant/lock-threads-app\n\n# Number of days of inactivity before a closed issue or pull request is locked\ndaysUntilLock: 365\n\n# Skip issues and pull requests created before a given timestamp. Timestamp must\n# follow ISO 8601 (`YYYY-MM-DD`). Set to `false` to disable\nskipCreatedBefore: false\n\n# Issues and pull requests with these labels will be ignored. Set to `[]` to disable\nexemptLabels: []\n\n# Label to add before locking, such as `outdated`. Set to `false` to disable\nlockLabel: false\n\n# Comment to post before locking. Set to `false` to disable\nlockComment: \u003e\n  This thread has been automatically locked since there has not been\n  any recent activity after it was closed. Please open a new issue for\n  related bugs.\n\n# Assign `resolved` as the reason for locking. Set to `false` to disable\nsetLockReason: true\n\n# Limit to only `issues` or `pulls`\n# only: issues\n\n# Optionally, specify configuration settings just for `issues` or `pulls`\n# issues:\n#   exemptLabels:\n#     - help-wanted\n#   lockLabel: outdated\n\n# pulls:\n#   daysUntilLock: 30\n\n# Repository to extend settings from\n# _extends: repo\n```\n\n## How are issues and pull requests determined to be inactive?\n\nThe app uses GitHub's [updated](https://git.io/fhRnE) search qualifier\nto determine inactivity. Any change to an issue or pull request\nis considered an update, including comments, changing labels,\napplying or removing milestones, or pushing commits.\n\nAn easy way to check and see which issues or pull requests will initially\nbe locked is to add the `updated` search qualifier to either the issue\nor pull request page filter for your repository:\n`is:closed is:unlocked updated:\u003c2016-12-20`.\nAdjust the date to be 365 days ago (or whatever you set for `daysUntilLock`)\nto see which issues or pull requests will be locked.\n\n## Why are only some issues and pull requests processed?\n\nTo avoid triggering abuse prevention mechanisms on GitHub, only 30 issues\nand pull requests will be handled per hour. If your repository has more\nthan that, it will just take a few hours or days to process them all.\n\n## Deployment\n\nSee [docs/deploy.md](docs/deploy.md) if you would like to run your own\ninstance of this app.\n\n## License\n\nCopyright (c) 2017-2021 Armin Sebastian\n\nThis software is released under the terms of the MIT License.\nSee the [LICENSE](LICENSE) file for further information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdessant%2Flock-threads-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdessant%2Flock-threads-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdessant%2Flock-threads-app/lists"}