Skip to content

Commit 2b5a2ed

Browse files
authored
Create stale-actions.yml
1 parent 56c845b commit 2b5a2ed

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/stale-actions.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: "Mark or close stale issues and PRs"
2+
3+
on:
4+
schedule:
5+
- cron: "30 * * * *"
6+
7+
jobs:
8+
stale:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/stale@v9
12+
with:
13+
repo-token: ${{ secrets.GITHUB_TOKEN }}
14+
days-before-stale: 25
15+
days-before-close: 5
16+
stale-issue-message: "This issue has been automatically marked as stale because it hasn't any activity in last few weeks. It will be closed if no further activity occurs. Thank you for your contributions."
17+
stale-pr-message: "This PR has been automatically marked as stale because it hasn't any activity in last few weeks. It will be closed if no further activity occurs. Thank you for your contributions."
18+
close-issue-message: "This issue was automatically closed because of being stale. Feel free to open a new one if you still experience this problem."
19+
close-pr-message: "This PR was automatically closed because of being stale."
20+
stale-pr-label: "stale"
21+
stale-issue-label: "stale"
22+
exempt-issue-labels: "bug,enhancement,pinned,security"
23+
exempt-pr-labels: "bug,enhancement,pinned,security"

0 commit comments

Comments
 (0)