Skip to content

Commit 792d9fe

Browse files
authored
Create stale.yml
1 parent 74fb020 commit 792d9fe

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

.github/workflows/stale.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Mark stale issues and pull requests
2+
3+
on:
4+
schedule:
5+
- cron: "0 */4 * * *"
6+
7+
jobs:
8+
stale:
9+
10+
runs-on: ubuntu-latest
11+
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: 14
18+
stale-pr-label: stale
19+
close-pr-label: auto-close
20+
exempt-pr-labels: keep-open
21+
stale-pr-message: >
22+
This pull request has been inactive for 14 days.
23+
If you are finished with your changes don't forget to add `#sign-off` to a comment in your PR to publish your changes.
24+
If this PR is inactive for 14 more days, it will be closed automatically. Thank you!
25+
26+
SQL Docs Team
27+
[Contact Us](mailto:rogue1@microsoft.com)
28+
[Contributor Guide](https://review.docs.microsoft.com/en-us/help/contribute/sql-server-docs-contribute?branch=master)
29+
close-pr-message: >
30+
This pull request has been inactive for 28 days. At this time, we are closing the PR.
31+
If you decide to continue working on your change, you can reopen the PR and continue working. Thank you!
32+
33+
SQL Docs Team
34+
[Contact Us](mailto:rogue1@microsoft.com)
35+
[Contributor Guide](https://review.docs.microsoft.com/en-us/help/contribute/sql-server-docs-contribute?branch=master)
36+

0 commit comments

Comments
 (0)