Skip to content

Commit

Permalink
[CI] Set permissions for stale workflow (pytorch#117371)
Browse files Browse the repository at this point in the history
Hopefully should fix failures one observes in HUD as default permissions for the repo were changed to read-only
<img width="232" alt="image" src="https://github.com/pytorch/pytorch/assets/2453524/4047472c-ca3c-4288-add7-97f0ce43106a">

Pull Request resolved: pytorch#117371
Approved by: https://github.com/clee2000
  • Loading branch information
malfet authored and pytorchmergebot committed Jan 12, 2024
1 parent 172dd13 commit 21d3708
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 21d3708

Please sign in to comment.