{"id":15048115,"url":"https://github.com/github/stale","last_synced_at":"2025-10-04T07:31:15.024Z","repository":{"id":65974908,"uuid":"297722383","full_name":"github/stale","owner":"github","description":"Marks issues and pull requests that have not had recent interaction","archived":true,"fork":true,"pushed_at":"2020-09-22T05:17:54.000Z","size":22507,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-01-20T21:47:52.242Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"actions/stale","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/github.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}},"created_at":"2020-09-22T17:27:03.000Z","updated_at":"2024-12-26T05:52:45.000Z","dependencies_parsed_at":"2023-02-19T18:01:14.504Z","dependency_job_id":null,"html_url":"https://github.com/github/stale","commit_stats":{"total_commits":95,"total_committers":30,"mean_commits":"3.1666666666666665","dds":0.7263157894736842,"last_synced_commit":"1849651e2aa1b1d6d2cba4c90c719f4b6c929a28"},"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fstale","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fstale/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fstale/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fstale/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/github","download_url":"https://codeload.github.com/github/stale/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235227462,"owners_count":18956137,"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":[],"created_at":"2024-09-24T21:08:17.650Z","updated_at":"2025-10-04T07:31:09.580Z","avatar_url":"https://github.com/github.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Close Stale Issues and PRs\n\nWarns and then closes issues and PRs that have had no activity for a specified amount of time.\n\n### Building and testing\n\nInstall the dependencies  \n```bash\n$ npm install\n```\n\nBuild the typescript and package it for distribution\n```bash\n$ npm run build \u0026\u0026 npm run pack\n```\n\nRun the tests :heavy_check_mark:  \n```bash\n$ npm test\n```\n\n### Usage\n\nSee [action.yml](./action.yml) For comprehensive list of options.\n \nBasic:\n```yaml\nname: \"Close stale issues\"\non:\n  schedule:\n  - cron: \"0 0 * * *\"\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/stale@v3\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        stale-issue-message: 'Message to comment on stale issues. If none provided, will not mark issues stale'\n        stale-pr-message: 'Message to comment on stale PRs. If none provided, will not mark PRs stale'\n```\n \nConfigure stale timeouts:\n```yaml\nname: \"Close stale issues\"\non:\n  schedule:\n  - cron: \"0 0 * * *\"\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/stale@v3\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days'\n        days-before-stale: 30\n        days-before-close: 5\n```\n \nConfigure labels:\n```yaml\nname: \"Close stale issues\"\non:\n  schedule:\n  - cron: \"0 0 * * *\"\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/stale@v3\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        stale-issue-message: 'Stale issue message'\n        stale-pr-message: 'Stale pull request message'\n        stale-issue-label: 'no-issue-activity'\n        exempt-issue-labels: 'awaiting-approval,work-in-progress'\n        stale-pr-label: 'no-pr-activity'\n        exempt-pr-labels: 'awaiting-approval,work-in-progress'\n        only-labels: 'awaiting-feedback,awaiting-answers'\n```\n\n### Debugging\n\nTo see debug output from this action, you must set the secret `ACTIONS_STEP_DEBUG` to `true` in your repository. You can run this action in debug only mode (no actions will be taken on your issues) by passing `debug-only` `true` as an argument to the action.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithub%2Fstale","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgithub%2Fstale","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithub%2Fstale/lists"}