{"id":15479841,"url":"https://github.com/gr2m/stale-block","last_synced_at":"2025-07-20T09:10:41.200Z","repository":{"id":152211921,"uuid":"617575794","full_name":"gr2m/stale-block","owner":"gr2m","description":"Just my playground to experiment with blocks","archived":false,"fork":false,"pushed_at":"2023-03-24T20:40:22.000Z","size":118,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-29T22:53:21.998Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gr2m.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},"funding":{"github":"gr2m"}},"created_at":"2023-03-22T17:10:37.000Z","updated_at":"2024-03-21T18:26:29.000Z","dependencies_parsed_at":"2023-11-25T07:42:36.059Z","dependency_job_id":null,"html_url":"https://github.com/gr2m/stale-block","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"6ab524bd4e5242963c8a983493445622d78b618f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":"githubnext/blocks-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gr2m%2Fstale-block","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gr2m%2Fstale-block/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gr2m%2Fstale-block/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gr2m%2Fstale-block/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gr2m","download_url":"https://codeload.github.com/gr2m/stale-block/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239943634,"owners_count":19722505,"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-10-02T04:27:57.168Z","updated_at":"2025-02-21T02:22:52.629Z","avatar_url":"https://github.com/gr2m.png","language":"TypeScript","funding_links":["https://github.com/sponsors/gr2m"],"categories":[],"sub_categories":[],"readme":"# Stale Block\n\n\u003e A [GitHub Block](https://blocks.githubnext.com/) for the [Stale Action](https://github.com/actions/stale).\n\n## Usage\n\n1. Create a stale workflow in your repository if you haven't yet. The workflow file name should include the word `stale`, e.g. `.github/workflows.stale.yml`.\n2. Open the stale workflow file in your browser, e.g. `https://github.com/gr2m/stale-block/blob/main/.github/workflows/stale.yml`\n3. Replace `github.com` with `https://blocks.githubnext.com`, e.g. `https://blocks.githubnext.com/gr2m/stale-block/blob/main/.github/workflows/stale.yml`\n4. Click on the `Stale` block in the block picker\n\n## Preview\n\n\u003cimg width=\"840\" alt=\"image\" src=\"https://user-images.githubusercontent.com/39992/227629715-1e739a60-797e-4eee-b255-5e09a1023f44.png\"\u003e\n\n## Status\n\nThis Block is work in progress. Here is the status of [stale option](https://github.com/actions/stale#all-options) that are implemented\n\n- [x] schedule\n- [x] repo-token\n- [x] stale-issue-message\n- [x] stale-pr-message\n- [x] close-issue-message\n- [x] close-pr-message\n- [x] days-before-stale\n- [ ] days-before-issue-stale\n- [ ] days-before-pr-stale\n- [x] days-before-close\n- [ ] days-before-issue-close\n- [ ] days-before-pr-close\n- [ ] stale-issue-label\n- [ ] close-issue-label\n- [ ] exempt-issue-labels\n- [ ] close-issue-reason\n- [ ] stale-pr-label\n- [ ] close-pr-label\n- [ ] exempt-pr-labels\n- [ ] exempt-milestones\n- [ ] exempt-issue-milestones\n- [ ] exempt-pr-milestones\n- [ ] exempt-all-milestones\n- [ ] exempt-all-issue-milestones\n- [ ] exempt-all-pr-milestones\n- [ ] only-labels\n- [ ] any-of-labels\n- [ ] any-of-issue-labels\n- [ ] any-of-pr-labels\n- [ ] only-issue-labels\n- [ ] only-pr-labels\n- [ ] operations-per-run\n- [ ] remove-stale-when-updated\n- [ ] remove-issue-stale-when-updated\n- [ ] remove-pr-stale-when-updated\n- [ ] debug-only\n- [ ] delete-branch\n- [ ] start-date\n- [ ] exempt-assignees\n- [ ] exempt-issue-assignees\n- [ ] exempt-pr-assignees\n- [ ] exempt-all-assignees\n- [ ] exempt-all-issue-assignees\n- [ ] exempt-all-pr-assignees\n- [ ] exempt-draft-pr\n- [ ] enable-statistics\n- [ ] labels-to-add-when-unstale\n- [ ] labels-to-remove-when-stale\n- [ ] labels-to-remove-when-unstale\n- [ ] ignore-updates\n- [ ] ignore-issue-updates\n- [ ] ignore-pr-updates\n- [ ] include-only-assigned\n\n## Local Development\n\n\u003e 🛑 Currently, you must be flagged into the [GitHub Blocks Technical Preview](https://blocks.githubnext.com) in order to develop blocks. There is no \"offline\" development mode at this time.\n\n```bash\nnpm install\nnpm start # start the dev server\n```\n\nWhen you visit [localhost:4000](https://localhost:4000) in your browser, you'll be\nredirected to the Blocks app, but your locally-developed blocks will appear in the block picker:\n\n\u003cimg alt=\"Block picker\" src=\"https://user-images.githubusercontent.com/56439/181648955-101b6567-3f9b-44b3-af99-7ef3ca6161b9.png\" width=\"418\" /\u003e\n\n(if you're using Safari (or another browser that doesn't permit calling `http` URLs from an `https` page), run `npm run start-https` and visit [https://localhost:4000](https://localhost:4000) instead.)\n\n## Under the hood\n\n[GitHub Blocks](https://blocks.githubnext.com/) are [React](https://reactjs.org/) components. They have a well-defined contract with their surroundings, and receive a [fixed set of props](https://github.com/githubnext/blocks/blob/main/docs/Developing%20blocks/4%20API%20reference%20and%20types.md) when they are instantiated. They are developed in [TypeScript](https://www.typescriptlang.org/), and bundled with [Vite](https://vitejs.dev/).\n\n## License\n\n[ISC](LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgr2m%2Fstale-block","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgr2m%2Fstale-block","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgr2m%2Fstale-block/lists"}