Skip to content

Commit 6d7883d

Browse files
committed
Normalize FormatCheckComment to workflow-level permissions
1 parent 918f911 commit 6d7883d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/FormatCheckComment.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ on:
55
- "Format Check"
66
types:
77
- "completed"
8+
permissions:
9+
pull-requests: "write"
10+
actions: "read"
811
jobs:
912
comment:
1013
name: "Format Check Comment"
1114
if: "github.event.workflow_run.event == 'pull_request'"
12-
permissions:
13-
pull-requests: "write"
14-
actions: "read"
1515
uses: "ITensor/ITensorActions/.github/workflows/FormatCheckComment.yml@v1"
1616
secrets: "inherit"

0 commit comments

Comments
 (0)