Skip to content

Commit 4bc2f2d

Browse files
committed
set explicit ci permissions
1 parent d04b348 commit 4bc2f2d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ jobs:
103103

104104
build-and-test-other-envs:
105105
name: "[happy-dom, edge-runtime] test"
106+
permissions:
107+
contents: read
106108
runs-on: ubuntu-latest
107109
timeout-minutes: 20
108110
strategy:

.github/workflows/coverage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ on:
99
- "!**"
1010

1111
jobs:
12-
permissions:
13-
contents: read
1412
coverage:
13+
permissions:
14+
contents: read
1515
name: Check and submit
1616
runs-on: ubuntu-latest
1717
steps:

0 commit comments

Comments
 (0)