Skip to content

ci: add stale workflow for inactive issues and PRs#493

Open
yankay wants to merge 1 commit into
matrixhub-ai:mainfrom
yankay:chore/add-stale-workflow
Open

ci: add stale workflow for inactive issues and PRs#493
yankay wants to merge 1 commit into
matrixhub-ai:mainfrom
yankay:chore/add-stale-workflow

Conversation

@yankay

@yankay yankay commented Apr 24, 2026

Copy link
Copy Markdown
Collaborator

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?


Signed-off-by: Kay Yan <kay.yan@daocloud.io>
Copilot AI review requested due to automatic review settings April 24, 2026 05:36
@github-actions

Copy link
Copy Markdown
Contributor

Hi @yankay,
Thanks for your pull request!
If the PR is ready, use the /auto-cc command to assign Reviewer to Review.
We will review it shortly.

Details

Instructions for interacting with me using comments are available here.
If you have questions or suggestions related to my behavior, please file an issue against the gh-ci-bot repository.

@netlify

netlify Bot commented Apr 24, 2026

Copy link
Copy Markdown

Deploy Preview for matrixhub-ai canceled.

Name Link
🔨 Latest commit 5fadf38
🔍 Latest deploy log https://app.netlify.com/projects/matrixhub-ai/deploys/69eb015267b8cf0008c2b90b

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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:

Copilot AI Apr 24, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Suggested change
with:
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants