Skip to content

Commit

Permalink
chore(ci): update issue & pr management strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
milo526 committed Jan 8, 2023
1 parent c10510e commit 2554c18
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 18 deletions.
18 changes: 0 additions & 18 deletions .github/stale.yml

This file was deleted.

21 changes: 21 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '30 5 * * *'

permissions:
issues: write
pull-requests: write

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v7
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. Thank you for your contributions.'
stale-pr-message: 'This PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'
days-before-stale: 10
days-before-close: 5
exempt-issue-labels: 'pinned,security,active'
exempt-pr-labels: 'pinned,security,active'

0 comments on commit 2554c18

Please sign in to comment.