Skip to content

Commit

Permalink
CreateStaleBotWorkflowConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
thomps23 committed Aug 18, 2024
1 parent 5408a42 commit 00f37e9
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Mark stale 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: 90
stale-pr-label: inactive
close-pr-label: auto-close
exempt-pr-labels: keep-open
operations-per-run: 1300
ascending: false
stale-pr-message: >
This pull request has been inactive for at least 14 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?branch=main) for instructions.
[Get Help](https://review.learn.microsoft.com/help/contribute/help-options?branch=main)
[Docs Support Teams Channel](https://teams.microsoft.com/l/channel/19%3a7ecffca1166a4a3986fed528cf0870ee%40thread.skype/General?groupId=de9ddba4-2574-4830-87ed-41668c07a1ca&tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47)
[Resolve Merge Conflict](https://review.learn.microsoft.com/help/contribute/resolve-merge-conflicts?branch=main)

0 comments on commit 00f37e9

Please sign in to comment.