Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

Commit 86f4d55

Browse files
authored
ci: Added a stale issue/pr workflow (#2021)
1 parent c42a467 commit 86f4d55

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

Diff for: .github/workflows/stale.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: "Stale issue and PR workflow"
2+
on:
3+
schedule:
4+
- cron: "30 1 * * *"
5+
workflow_dispatch:
6+
7+
permissions:
8+
issues: write
9+
pull-requests: write
10+
11+
jobs:
12+
stale:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/stale@v4
16+
with:
17+
stale-issue-message: >
18+
This issue has been automatically marked as stale because it has not had
19+
activity in the last 30 days. It will be closed if no further activity occurs.
20+
Thank you for your contributions.
21+
stale-pr-message: >
22+
This pull request has been automatically marked as stale because it has not had
23+
activity in the last 30 days. It will be closed if no further activity occurs. Thank you
24+
for your contributions.
25+
days-before-stale: 30
26+
days-before-close: 10
27+
close-issue-label: "abandoned"

0 commit comments

Comments
 (0)