Skip to content

Commit

Permalink
✨ Add GitHub Action to mark stale issues and pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
FahimFBA committed Oct 25, 2024
1 parent b5b0007 commit 30216ee
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Mark stale issues and pull requests

on:
schedule:
- cron: '34 7 * * *'

jobs:
stale:

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

steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue is marked as stale as no activity has occured for a long time.'
stale-pr-message: 'This pull request is marked as stale as no activity has occured for a long time.'
stale-issue-label: 'no-issue-activity'
stale-pr-label: 'no-pr-activity'

0 comments on commit 30216ee

Please sign in to comment.