Skip to content

Commit

Permalink
chore: add stale workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Sep 22, 2023
1 parent b79b961 commit 268fd17
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Close stale issues and PRs
on:
schedule:
- cron: "30 1 * * *"

permissions:
issues: write
pull-requests: write

jobs:
stale:
if: github.repository == 'sveltejs/eslint-plugin-svelte'
name: Close stale issues with missing information
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
with:
any-of-labels: "needs repro,needs info,needs more info"
days-before-stale: 60
days-before-close: 14
stale-issue-message: This issue is is stale because it missing information and has been open for 60 days with no activity.
stale-pr-message: This PR is is stale because it missing information and has been open for 60 days with no activity.
close-issue-message: >
This issue has been automatically closed because we haven't received a
response from the original author πŸ™ˆ. This automation helps keep the issue
tracker clean from issues that aren't actionable. Please reach out if you
have more information for us! πŸ™‚
close-pr-message: >
This PR has been automatically closed because we haven't received a
response from the original author πŸ™ˆ. This automation helps keep the issue
tracker clean from PRs that aren't actionable. Please reach out if you
have more information for us! πŸ™‚

0 comments on commit 268fd17

Please sign in to comment.