Skip to content
This repository was archived by the owner on Dec 22, 2024. It is now read-only.

Commit 7997287

Browse files
author
xinyiz1226
authored
Merge pull request microsoft#916 from microsoft/close-stale-issues
Mark and close stale issues
2 parents 556e489 + 395b011 commit 7997287

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/stale-issues.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Mark stale issues and close them
2+
3+
on:
4+
schedule:
5+
- cron: "0 * * * *"
6+
7+
jobs:
8+
stale:
9+
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: blackchoey/stale@releases/v1.2
14+
with:
15+
repo-token: ${{ secrets.GITHUB_TOKEN }}
16+
stale-issue-message: 'This issue has been automatically marked as stale because it has no recent activities. It will be closed if no further activity occurs within 3 days. Thank you for your contributions.'
17+
stale-issue-label: 'stale'
18+
days-before-stale: 7
19+
only-labels: 'need more info'
20+
last-updated-user-type: 'collaborator'
21+
days-before-close: 3
22+
operations-per-run: 150

0 commit comments

Comments
 (0)