Mark stale issues and pull requests #4924
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 | |
permissions: | |
issues: write | |
pull-requests: write | |
on: | |
schedule: | |
- cron: "0 */6 * * *" | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v3 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
days-before-pr-stale: 14 | |
days-before-pr-close: 365 | |
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. For instructions, see the [contributor guide](https://review.docs.microsoft.com/help/contribute/contribute-how-to-write-pull-request-automation?branch=main). | |
Cloud Adoption Framework team | |
[Contact Us](mailto:caf-content@microsoft.com) | |
close-pr-message: > | |
This pull request has been inactive for 14 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! | |
Cloud Adoption Framework team | |
[Contact Us](mailto:caf-content@microsoft.com) |