Skip to content

Commit

Permalink
ci: add stale workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
odsod committed Apr 2, 2024
1 parent 3215f5a commit 08773f3
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Stale

permissions:
issues: write
pull-requests: write

on:
workflow_dispatch:
schedule:
# At 08:00 on every Monday.
- cron: "0 8 * * 1"

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
days-before-pr-stale: 180
days-before-pr-close: 14
stale-pr-message: "This PR has been open for **180 days** with no activity. Remove the stale label or add a comment or it will be closed in **14 days**."
days-before-issue-stale: 365
days-before-issue-close: -1
stale-issue-message: "This issue has been open for **365 days** with no activity. Marking as stale."

0 comments on commit 08773f3

Please sign in to comment.