Skip to content

Commit 5922358

Browse files
committed
Apply default permissions for code-coverage workflow
1 parent 4eb811f commit 5922358

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

.github/workflows/ci.yml

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

9-
permissions:
10-
contents: read
11-
129
jobs:
1310
build:
11+
permissions:
12+
contents: read
13+
1414
strategy:
1515
matrix:
1616
os: [ubuntu-latest, windows-latest, macos-latest]

.github/workflows/code-coverage.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ name: Code Coverage
33
on:
44
workflow_call:
55

6-
permissions:
7-
contents: read
8-
pull-requests: write
9-
106
jobs:
117
publish-coverage:
128
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)