Skip to content

(Scheduled) Stale branch removal #494

(Scheduled) Stale branch removal

(Scheduled) Stale branch removal #494

Workflow file for this run

name: (Scheduled) Stale branch removal
permissions:
contents: write
on:
schedule:
- cron: "0 */12 * * *"
workflow_dispatch:
jobs:
stale-branch:

Check failure on line 15 in .github/workflows/StaleBranch.yml

View workflow run for this annotation

GitHub Actions / (Scheduled) Stale branch removal

Invalid workflow file

The workflow is not valid. .github/workflows/StaleBranch.yml (Line: 15, Col: 3): Error calling workflow 'MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-StaleBranch.yml@workflows-prod'. The workflow is requesting 'pull-requests: read', but is only allowed 'pull-requests: none'.
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 }}