From 21d370819b9135cb1dc769710b1f23ae249c4246 Mon Sep 17 00:00:00 2001 From: Nikita Shulga <2453524+malfet@users.noreply.github.com> Date: Fri, 12 Jan 2024 16:44:15 +0000 Subject: [PATCH] [CI] Set permissions for stale workflow (#117371) Hopefully should fix failures one observes in HUD as default permissions for the repo were changed to read-only image Pull Request resolved: https://github.com/pytorch/pytorch/pull/117371 Approved by: https://github.com/clee2000 --- .github/workflows/stale.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 39fe67da05d5a..56e349dfa1b82 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -22,6 +22,9 @@ jobs: stale: if: ${{ github.repository == 'pytorch/pytorch' }} runs-on: linux.large.arc + permissions: + contents: read + pull-requests: write steps: - uses: actions/github-script@v6