Skip to content

Commit d6847c5

Browse files
malfetpytorchmergebot
authored andcommitted
[CI] Set correct permissions for auto_request_review (pytorch#117408)
Pull Request resolved: pytorch#117408 Approved by: https://github.com/izaitsevfb, https://github.com/atalman
1 parent 53f3361 commit d6847c5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/auto_request_review.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@ name: Auto Request Review
33
on:
44
pull_request:
55
types: [opened, ready_for_review, reopened]
6-
76
jobs:
87
auto-request-review:
98
# Don't run on forked repos
109
if: ${{ !github.event.pull_request.head.repo.fork }}
10+
permissions:
11+
contents: read
12+
pull-requests: write
1113
name: Auto Request Review
1214
runs-on: ubuntu-latest
1315
steps:

0 commit comments

Comments
 (0)