Automattic / vip-go-wpcom-compat

VIP Go / WordPress.com Compatibility
https://wpvip.com
2 stars 6 forks source link

Add GitHub action to mark inactive issues and PRs as stale #49

Closed chriszarate closed 2 years ago

chriszarate commented 2 years ago

Description

This pull request introduces a GitHub action that runs daily and will automatically mark inactive issues and PRs as stale. Keeping issues and pull requests manageable and actionable is important for a codebase's health.

The default behavior of this action will mark issues and pull requests as stale after 60 days of inactivity, by adding a label of [Status] Stale and leaving an explanatory comment (example). If another 7 days of inactivity pass, it will be labeled [Status] Autoclosed and closed. (It can always be reopened, which resets the clock.)

This action ignores issues and PRs with the following labels:

You can easily customize the time periods used for marking an issue stale or autoclosing. Consult the documentation for details on providing overrides.

Feel free to close this pull request if it does not suit your project's needs or workflows. If you would consider merging this pull request if the action were improved in some way, please open an issue or pull request to let us know.

Deploy Notes

Upon merging, this action will run at about midnight UTC. Issues and pull requests that already meet the stale threshold will be immediately marked stale, but will not be autoclosed until an additional 7 days of inactivity pass.