Mark stale issues and pull requests #75
This file contains hidden or 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: | |
| if: github.repository_owner == 'MicrosoftDocs' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/stale@v3 | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| days-before-pr-stale: 90 | |
| days-before-pr-close: 30 | |
| stale-pr-label: inactive | |
| close-pr-label: auto-close | |
| exempt-pr-labels: keep-open | |
| stale-pr-message: > | |
| This pull request has been inactive for 90 days. | |
| If you are finished with your changes don’t forget to add `#sign-off` to a comment in your PR to publish your changes. | |
| If this PR is inactive/stale for 30 more days, it will be closed automatically. Thank you! | |
| Learn Team | |
| [Need Help](https://review.learn.microsoft.com/en-us/help/contribute/help-options?branch=main) | |
| [Resolve Merge Conflict](https://review.learn.microsoft.com/en-us/help/contribute/resolve-merge-conflicts?branch=main) | |
| close-pr-message: > | |
| This pull request has been inactive for 120 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! | |
| Learn Team | |
| [Need Help](https://review.learn.microsoft.com/en-us/help/contribute/help-options?branch=main) | |
| [Resolve Merge Conflict](https://review.learn.microsoft.com/en-us/help/contribute/resolve-merge-conflicts?branch=main) |