Skip to content

Commit 7990ddc

Browse files
committed
ci: add permissions for contents: read to ci and release workflows
1 parent be979fb commit 7990ddc

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ concurrency:
99
group: ${{ github.workflow }}-${{ github.ref }}
1010
cancel-in-progress: true
1111

12+
permissions:
13+
contents: read
14+
1215
jobs:
1316
commitlint:
1417
name: commitlint

.github/workflows/release.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
concurrency:
99
group: ${{ github.workflow }}-${{ github.ref }}
1010

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
checks:
1316
uses: ./.github/workflows/_checks.yaml

0 commit comments

Comments
 (0)