Skip to content

Commit 133ed5e

Browse files
committed
CreateStaleBotWorkflowConfig
1 parent 9c25a4c commit 133ed5e

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/stale.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Mark stale pull requests
2+
3+
permissions:
4+
issues: write
5+
pull-requests: write
6+
on:
7+
schedule:
8+
- cron: "0 */6 * * *"
9+
jobs:
10+
stale:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/stale@v3
14+
with:
15+
repo-token: ${{ secrets.GITHUB_TOKEN }}
16+
days-before-pr-stale: 14
17+
days-before-pr-close: 90
18+
stale-pr-label: inactive
19+
close-pr-label: auto-close
20+
exempt-pr-labels: keep-open
21+
operations-per-run: 1300
22+
ascending: false
23+
stale-pr-message: >
24+
This pull request has been inactive for at least 14 days.
25+
If you are finished with your changes, don't forget to sign off. See the [contributor guide](https://review.learn.microsoft.com/help/contribute/contribute-how-to-write-pull-request-automation?branch=main) for instructions.
26+
27+
[Get Help](https://review.learn.microsoft.com/help/contribute/help-options?branch=main)
28+
29+
[Docs Support Teams Channel](https://teams.microsoft.com/l/channel/19%3a7ecffca1166a4a3986fed528cf0870ee%40thread.skype/General?groupId=de9ddba4-2574-4830-87ed-41668c07a1ca&tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47)
30+
31+
[Resolve Merge Conflict](https://review.learn.microsoft.com/help/contribute/resolve-merge-conflicts?branch=main)

0 commit comments

Comments
 (0)