Skip to content
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

Add action that handles stale contributions #10

Merged
merged 1 commit into from
Oct 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Manage stale contributions

on:
schedule:
- cron: '0 0 * * *' # Run every day at midnight

jobs:
manage_stale_contributions:
runs-on: ubuntu-latest
steps:
- name: Manage stale contributions
uses: actions/stale@v9
with:
any-of-issue-labels: 'Needs more info'
stale-issue-message: 'This issue is now stale because it has been open for 14 days with no activity. Please provide the requested information or the issue will be closed automatically.'
close-issue-message: 'This issue is now closed because it has been stale for 14 days with no activity.'
days-before-issue-stale: 14
days-before-issue-close: 14
stale-pr-message: 'This PR is now stale because it has been open for 30 days with no activity. Please provide the requested information or the issue will be closed automatically.'
close-pr-message: 'This issue is now closed because it has been stale for 14 days with no activity.'
days-before-pr-stale: 30
days-before-pr-close: 7