From 7e240d0b9e220797b30645efab3f28ae0765d00a Mon Sep 17 00:00:00 2001 From: David Strome <21028455+dstrome@users.noreply.github.com> Date: Tue, 29 Apr 2025 11:56:32 -0700 Subject: [PATCH] Update StaleBranch allow pull-requests read --- .github/workflows/StaleBranch.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/StaleBranch.yml b/.github/workflows/StaleBranch.yml index 706487d5b2..30212d1836 100644 --- a/.github/workflows/StaleBranch.yml +++ b/.github/workflows/StaleBranch.yml @@ -2,6 +2,7 @@ name: (Scheduled) Stale branch removal permissions: 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. # 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.