ci: add stale workflow for inactive issues and PRs#493
Conversation
Signed-off-by: Kay Yan <kay.yan@daocloud.io>
|
Hi @yankay, DetailsInstructions for interacting with me using comments are available here. |
✅ Deploy Preview for matrixhub-ai canceled.
|
There was a problem hiding this comment.
Pull request overview
Adds an automation workflow to mark inactive issues and pull requests as “stale” and close them after a grace period.
Changes:
- Introduces a scheduled + manually triggerable GitHub Actions workflow for stale issue/PR management
- Configures separate stale/close timelines for issues vs PRs
- Adds automated stale/close messages for issues and PRs
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| steps: | ||
| - name: Mark stale issues and pull requests | ||
| uses: actions/stale@v9 | ||
| with: |
There was a problem hiding this comment.
actions/stale@v9 expects a repo-token input; without it the workflow typically fails at runtime with a missing required input error. Add repo-token: ${{ secrets.GITHUB_TOKEN }} (or ${{ github.token }}) under the with: block so the action can authenticate to label/close issues and PRs.
| with: | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} |
What type of PR is this?
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?