Skip to content

Commit 07769e9

Browse files
Strict permissions for gh workflows
1 parent a109a55 commit 07769e9

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/bench.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
pull_request:
77
branches: [ main ]
88

9+
permissions:
10+
contents: read
11+
pull-requests: read
12+
913
jobs:
1014
build:
1115
runs-on: ubuntu-latest

.github/workflows/ruby.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ on:
1515

1616
permissions:
1717
contents: read
18+
pull-requests: read
1819

1920
jobs:
2021
lint:

0 commit comments

Comments
 (0)