Skip to content

Commit

Permalink
Migrating to a working stale (#34867)
Browse files Browse the repository at this point in the history
* Migrating to a working stale

* Adding permissions
  • Loading branch information
woody-apple authored Aug 8, 2024
1 parent befc990 commit c3f13ae
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 42 deletions.
42 changes: 0 additions & 42 deletions .github/stale.yml

This file was deleted.

41 changes: 41 additions & 0 deletions .github/workflows/stale.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: "Process Stale Issues and PRs"
on:
schedule:
- cron: "30 1 * * *"

permissions:
issues: write
pull-requests: write

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
stale-issue-message:
"This issue has been automatically marked as stale because
it has not had recent activity. It will be closed if no
further activity occurs. Remove stale label or comment or
this will be closed in 30 days."
stale-pr-message:
"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. Remove stale label or
comment or this will be closed in 10 days."
close-issue-message:
"This stale issue has been automatically closed. Thank you
for your contributions."
close-pr-message:
"This stale pull request has been automatically closed.
Thank you for your contributions."
days-before-issue-stale: 30
days-before-issue-close: -1 # Don't close them for now
days-before-pr-stale: 90
days-before-pr-close: 10
exempt-issue-labels:
"security,blocked,cert blocker,build issue,Spec XML
align,CI/CD improvements,memory"
exempt-pr-labels:
"security,blocked,cert blocker,build issue,Spec XML
align,CI/CD improvements,memory"

0 comments on commit c3f13ae

Please sign in to comment.