Skip to content

Commit 4b0f5ce

Browse files
svrnmtrask
andauthored
Apply suggestions from code review
Co-authored-by: Trask Stalnaker <[email protected]>
1 parent e0d2291 commit 4b0f5ce

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/pr-actions.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ on:
44
issue_comment:
55
types: [created]
66

7-
permissions: read-all
7+
permissions:
8+
contents: read
89

910
env:
1011
COMMENT: ${{ github.event.comment.body }}
@@ -20,9 +21,6 @@ jobs:
2021
if: |
2122
github.event.issue.pull_request &&
2223
startsWith(github.event.comment.body, '/fix:')
23-
permissions:
24-
contents: read
25-
pull-requests: write
2624
2725
outputs:
2826
action_name: ${{ steps.extract.outputs.action_name }}

0 commit comments

Comments
 (0)