Merge pull request #10827 from MicrosoftDocs/dstrome-stalebranch-allow-pr-read

Update StaleBranch allow pull-requests read
This commit is contained in:
David Strome
2025-04-29 11:56:38 -07:00
committed by GitHub

View File

@ -2,6 +2,7 @@ name: (Scheduled) Stale branch removal
permissions: permissions:
contents: write contents: write
pull-requests: read
# This workflow is designed to be run in the days up to, and including, a "deletion day", specified by 'DeleteOnDayOfMonth' in env: in https://github.com/MicrosoftDocs/microsoft-365-docs/blob/workflows-prod/.github/workflows/Shared-StaleBranch.yml. # This workflow is designed to be run in the days up to, and including, a "deletion day", specified by 'DeleteOnDayOfMonth' in env: in https://github.com/MicrosoftDocs/microsoft-365-docs/blob/workflows-prod/.github/workflows/Shared-StaleBranch.yml.
# On the days leading up to "deletion day", the workflow will report the branches to be deleted. This lets users see which branches will be deleted. On "deletion day", those branches are deleted. # On the days leading up to "deletion day", the workflow will report the branches to be deleted. This lets users see which branches will be deleted. On "deletion day", those branches are deleted.