-
Notifications
You must be signed in to change notification settings - Fork 179
Stale workflow #1061
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stale workflow #1061
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces a new GitHub Actions workflow to automatically mark issues as stale and close them after a period of inactivity.
- Adds a scheduled workflow (stale.yml) to mark inactive issues labeled "question" as stale after 7 days and to close them after an additional 14 days.
- Configures custom messages for stale and closed issues.
Files not reviewed (17)
- templates/android/.github/workflows/stale.yml: Language not supported
- templates/apple/.github/workflows/stale.yml: Language not supported
- templates/cli/.github/workflows/stale.yml: Language not supported
- templates/dart/.github/workflows/stale.yml: Language not supported
- templates/deno/.github/workflows/stale.yml: Language not supported
- templates/dotnet/.github/workflows/stale.yml: Language not supported
- templates/flutter/.github/workflows/stale.yml: Language not supported
- templates/go/.github/workflows/stale.yml: Language not supported
- templates/graphql/.github/workflows/stale.yml: Language not supported
- templates/kotlin/.github/workflows/stale.yml: Language not supported
- templates/node/.github/workflows/stale.yml: Language not supported
- templates/php/.github/workflows/stale.yml: Language not supported
- templates/python/.github/workflows/stale.yml: Language not supported
- templates/react-native/.github/workflows/stale.yml: Language not supported
- templates/rest/.github/workflows/stale.yml: Language not supported
- templates/ruby/.github/workflows/stale.yml: Language not supported
- templates/swift/.github/workflows/stale.yml: Language not supported
Comments suppressed due to low confidence (1)
templates/web/.github/workflows/stale.yml:23
- Double-check that 'only-labels' is correctly configured for your issue labeling strategy; if you intend to target multiple labels, consider updating the format to a comma-separated list as required by the action.
only-labels: "question"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of putting the same thing in every repo, let's put it in a central place and then call it from the other repos. Kind of like how we did for autoclose.yml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces a new workflow for marking stale issues via GitHub Actions.
- Creates a new workflow file in the "templates/web/.github/workflows" folder.
- Schedules the workflow to run daily at midnight.
Files not reviewed (17)
- templates/android/.github/workflows/stale.yml: Language not supported
- templates/apple/.github/workflows/stale.yml: Language not supported
- templates/cli/.github/workflows/stale.yml: Language not supported
- templates/dart/.github/workflows/stale.yml: Language not supported
- templates/deno/.github/workflows/stale.yml: Language not supported
- templates/dotnet/.github/workflows/stale.yml: Language not supported
- templates/flutter/.github/workflows/stale.yml: Language not supported
- templates/go/.github/workflows/stale.yml: Language not supported
- templates/graphql/.github/workflows/stale.yml: Language not supported
- templates/kotlin/.github/workflows/stale.yml: Language not supported
- templates/node/.github/workflows/stale.yml: Language not supported
- templates/php/.github/workflows/stale.yml: Language not supported
- templates/python/.github/workflows/stale.yml: Language not supported
- templates/react-native/.github/workflows/stale.yml: Language not supported
- templates/rest/.github/workflows/stale.yml: Language not supported
- templates/ruby/.github/workflows/stale.yml: Language not supported
- templates/swift/.github/workflows/stale.yml: Language not supported
|
||
jobs: | ||
stale: | ||
uses: appwrite/.github/.github/workflows/stale.yml@main |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The workflow reference path appears to include a duplicate '.github' folder. Consider updating it to 'appwrite/.github/workflows/stale.yml@main' if that is the correct path.
uses: appwrite/.github/.github/workflows/stale.yml@main | |
uses: appwrite/.github/workflows/stale.yml@main |
Copilot uses AI. Check for mistakes.
What does this PR do?
(Provide a description of what this PR does.)
Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work.)
Related PRs and Issues
(If this PR is related to any other PR or resolves any issue or related to any issue link all related PR and issues here.)
Have you read the Contributing Guidelines on issues?
(Write your answer here.)