-
Notifications
You must be signed in to change notification settings - Fork 466
40 lines (35 loc) · 1.53 KB
/
stale.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
#
# You can adjust the behavior by modifying this file.
# For more information, see:
# https://github.com/actions/stale
name: Mark stale issues and pull requests
permissions:
issues: write
pull-requests: write
on:
schedule:
- cron: '0 */6 * * *'
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-pr-stale: 90
days-before-pr-close: 91
stale-pr-label: 'no-pr-activity'
close-pr-label: 'auto-close'
stale-pr-message: >
This pull request has been inactive for 90 days. 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) for instructions.
<br/>
<br/>If this PR is inactive for 1 more day, it will be closed automatically. Thank you!
<br/>
<br/>Microsoft Entra Content Team [Contact Us](mailto:apexidcontent@microsoft.com)
close-pr-message: >
<br/>This pull request has been inactive for 91 days. At this time, we're closing the PR.
<br/>
<br/>If you decide to continue working on your change, you can reopen the PR and continue working. Thank you!
<br/>
<br/>Microsoft Entra Content Team [Contact Us](mailto:apexidcontent@microsoft.com)