Skip to content

Commit 6933efc

Browse files
[Add]: Give permissions to workflow files explicitly
1 parent 17998b4 commit 6933efc

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
pull_request:
66
types: [opened, reopened, review_requested, synchronize]
77

8+
permissions:
9+
contents: read
10+
811
jobs:
912
run-tests:
1013
runs-on: ubuntu-latest

.github/workflows/docker-compose-for-compiler-developers.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
pull_request:
66
types: [opened, reopened, review_requested, synchronize]
77

8+
permissions:
9+
contents: read
10+
811
jobs:
912
run-tests:
1013
runs-on: ubuntu-latest

.github/workflows/docker-compose.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
pull_request:
66
types: [opened, reopened, review_requested, synchronize]
77

8+
permissions:
9+
contents: read
10+
811
jobs:
912
run-tests:
1013
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)