From 6abd15899907e31b048e89037d0d643ffa6dd1c4 Mon Sep 17 00:00:00 2001 From: David Strome <21028455+dstrome@users.noreply.github.com> Date: Tue, 29 Apr 2025 11:55:06 -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.