Skip to content

Commit 2e5d429

Browse files
committed
Adds stale issue and PR check workflow
Implements a scheduled workflow to identify and flag stale issues and pull requests. Configures the workflow to run daily and apply specific labels and messages to stale items, improving repository maintenance.
1 parent 5177ba8 commit 2e5d429

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/stale.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Check for stale issues and PRs
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * *"
6+
7+
jobs:
8+
stale:
9+
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/stale@v3 # See: https://github.com/actions/stale
14+
with:
15+
repo-token: ${{ secrets.GITHUB_TOKEN }}
16+
stale-issue-message: 'Stale issue message'
17+
stale-pr-message: 'Stale pull request message'
18+
stale-issue-label: 'no-issue-activity'
19+
stale-pr-label: 'no-pr-activity'

0 commit comments

Comments
 (0)