Skip to content

Updating stale.yml to add the support for actions/stale #27447

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

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
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
54 changes: 0 additions & 54 deletions .github/stale.yml

This file was deleted.

46 changes: 46 additions & 0 deletions .github/workflows/cron-stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: cron-stale

on:
schedule:
- cron: '0 0 * * *' # Every day at midnight UTC

jobs:
stale:
runs-on: ubuntu-latest

steps:
- name: Check for stale issues and pull requests
uses: actions/stale@v3
with:
daysBeforeStale: 60
daysBeforeClose: 14
staleIssueLabel: "stale"
closeIssue: true
staleIssueComment: >
This issue has been automatically marked as stale because it has not had recent activity.
I am here to help clear issues left open even if solved or waiting for more insight.
This issue will be closed if no further activity occurs during the next 2 weeks.
If the issue is still valid just add a comment to keep it alive.
Thank you for your contributions.
closeIssueComment: >
This issue has been automatically closed because of inactivity.
You can re-open it if needed.
exemptLabels: |
status/blocked
kind/security
lgtm/done
reviewed/confirmed
priority/critical
kind/proposal
exemptProjects: false
exemptMilestones: false
limitPerRun: 1
pullsDaysBeforeStale: 60
pullsDaysBeforeClose: 60
pullsStaleIssueComment: >
This pull request has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs during the next 2 months. Thank you
for your contributions.
pullsCloseIssueComment: >
This pull request has been automatically closed because of inactivity.
You can re-open it if needed.