Skip to content

Commit a9fade4

Browse files
chore[ci]: remove unnecessarly workflow perms. (#5034)
Signed-off-by: Joe Isaacs <[email protected]>
1 parent f67b402 commit a9fade4

File tree

3 files changed

+7
-12
lines changed

3 files changed

+7
-12
lines changed

.github/workflows/bench-pr.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@ on:
99
workflow_dispatch: {}
1010

1111
permissions:
12-
actions: write
12+
actions: write # for removing labels
1313
contents: read
14-
pull-requests: write
15-
id-token: write
16-
deployments: write
14+
pull-requests: write # for commenting on PRs
15+
id-token: write # enables AWS-GitHub OIDC
1716

1817
jobs:
1918
label_trigger:

.github/workflows/docs.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@ on:
66
workflow_dispatch: {}
77

88
permissions:
9-
actions: read
10-
deployments: write
11-
contents: write
12-
id-token: write
9+
contents: read
1310

1411
jobs:
1512
build:

.github/workflows/sql-pr.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@ on:
99
workflow_dispatch: {}
1010

1111
permissions:
12-
actions: write
12+
actions: write # for removing labels
1313
contents: read
14-
pull-requests: write
15-
id-token: write
16-
deployments: write
14+
pull-requests: write # for commenting on PRs
15+
id-token: write # enables AWS-GitHub OIDC
1716

1817
jobs:
1918
label_trigger:

0 commit comments

Comments
 (0)