Skip to content

Commit

Permalink
Add issue management workflow
Browse files Browse the repository at this point in the history
Stale in 7 days + close in 3 days.
  • Loading branch information
yongchanghao authored Jul 1, 2024
1 parent c50ee52 commit f329bbc
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
#
# You can adjust the behavior by modifying this file.
# For more information, see:
# https://github.com/actions/stale
name: Mark stale issues and pull requests

on:
schedule:
- cron: '0 0 * * *'

jobs:
stale:

runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write

steps:
- uses: actions/[email protected]
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'Stale due to inactivity. Closing in 3 days if no further activities.'
close-issue-message: 'Close due to inactivity'
stale-issue-label: 'no-issue-activity'
days-before-pr-stale: -1
days-before-issue-stale: 7
days-before-issue-close: 3
exempt-issue-assignees: true



0 comments on commit f329bbc

Please sign in to comment.