Skip to content

Commit

Permalink
Add workflow to mark stale issues and PRs (ava-labs#1443)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshua-kim committed May 30, 2023
1 parent c374c39 commit 7403188
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Mark stale issues and pull requests
on:
schedule:
- cron: '0 0 * * 0' # Run every day at midnight UTC on Sunday
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
with:
# Overall configuration
operations-per-run: 100

# PR configuration
days-before-pr-stale: 30
stale-pr-message: 'This PR has become stale because it has been open for 30 days with no activity. Adding the `lifecycle/frozen` label will cause this PR to ignore lifecycle events.'
days-before-pr-close: -1
stale-pr-label: lifecycle/stale
exempt-pr-labels: lifecycle/frozen
close-pr-label: lifecycle/rotten

# Issue configuration
days-before-issue-stale: 60
stale-issue-message: 'This issue has become stale because it has been open 60 days with no activity. Adding the `lifecycle/frozen` label will cause this issue to ignore lifecycle events.'
days-before-issue-close: -1
stale-issue-label: lifecycle/stale
exempt-issue-labels: lifecycle/frozen
close-issue-label: lifecycle/rotten

0 comments on commit 7403188

Please sign in to comment.