Skip to content

Manage stale branches #6

Manage stale branches

Manage stale branches #6

name: Manage stale branches
permissions:
contents: write
pull-requests: read
on:
schedule:
- cron: "0 9 1,28 * *"
workflow_dispatch:
jobs:
stale-branch:
if: github.repository == 'MicrosoftDocs/SupportArticles-docs-pr'
uses: MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-StaleBranch.yml@workflows-prod
with:
PayloadJson: ${{ toJSON(github) }}
RepoBranchSkipList: '[
"automation"
]'
ReportOnly: false
secrets:
AccessToken: ${{ secrets.GITHUB_TOKEN }}