mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-12 05:17:22 +00:00
26 lines
617 B
YAML
26 lines
617 B
YAML
name: (Scheduled) Stale branch removal
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "0 */12 * * *"
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
jobs:
|
|
|
|
stale-branch:
|
|
if: github.repository_owner == 'MicrosoftDocs'
|
|
uses: MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-StaleBranch.yml@workflows-prod
|
|
with:
|
|
PayloadJson: ${{ toJSON(github) }}
|
|
RepoBranchSkipList: '[
|
|
"ExampleBranch1",
|
|
"ExampleBranch2"
|
|
]'
|
|
ReportOnly: true
|
|
secrets:
|
|
AccessToken: ${{ secrets.GITHUB_TOKEN }} |