mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
[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 <img width="232" alt="image" src="https://github.com/pytorch/pytorch/assets/2453524/4047472c-ca3c-4288-add7-97f0ce43106a"> Pull Request resolved: https://github.com/pytorch/pytorch/pull/117371 Approved by: https://github.com/clee2000
This commit is contained in:
parent
172dd13ecf
commit
21d370819b
3
.github/workflows/stale.yml
vendored
3
.github/workflows/stale.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user