Skip to content

Commit

Permalink
Close very old issues (>= 1 year)
Browse files Browse the repository at this point in the history
  • Loading branch information
st3v3nmw committed Apr 9, 2023
1 parent 454a662 commit ba198f4
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: Close Stale Issues & PRs

permissions:
contents: write
issues: write
pull-requests: write

on:
workflow_dispatch:
schedule:
- cron: "0 4 * * 0"

jobs:
stale:
runs-on: ubuntu-latest

steps:
- uses: actions/stale@v4.1.1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-issue-stale: 365
days-before-issue-close: 30
days-before-pr-stale: 365
days-before-pr-close: 30
stale-issue-label: "stale"
stale-pr-label: "stale"
operations-per-run: 256
delete-branch: true

0 comments on commit ba198f4

Please sign in to comment.