Mark stale issues and pull requests #1284
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Mark stale issues and pull requests | |
on: | |
schedule: | |
- cron: '0 */6 * * *' | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
steps: | |
- uses: actions/stale@v8 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
days-before-pr-stale: 14 | |
days-before-pr-close: 14 | |
stale-pr-label: 'inactive' | |
close-pr-label: 'auto-close' | |
exempt-pr-labels: 'keep-open' | |
stale-pr-message: > | |
This pull request has been inactive for 14 days. | |
If you are finished with your changes, don't forget to sign off. See the [contributor guide](https://review.docs.microsoft.com/en-us/help/contribute/contribute-how-to-write-pull-request-automation?branch=main) for instructions. | |
If this PR is inactive for 14 more days, it will be closed automatically. Thank you! | |
VS Content Team | |
[Contact Us](mailto:[email protected]) | |
[Contributor Guide](https://review.docs.microsoft.com/en-us/help/contribute/visualstudio-docs-contribute?branch=main) | |
close-pr-message: > | |
This pull request has been inactive for 28 days. At this time, we are closing the PR. | |
If you decide to continue working on your change, you can reopen the PR and continue working. Thank you! | |
VS Content Team | |
[Contact Us](mailto:[email protected]) | |
[Contributor Guide](https://review.docs.microsoft.com/en-us/help/contribute/visualstudio-docs-contribute?branch=main) | |