Skip to content

Commit 4270bc2

Browse files
authored
ci: declare contents: read on PR description-check and precommit workflows (#5657)
1 parent 1ead93b commit 4270bc2

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/pr-description-check.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ on:
1919
- opened
2020
- edited
2121
- synchronize
22+
23+
permissions:
24+
contents: read
25+
2226
jobs:
2327
check-description:
2428
runs-on: ubuntu-latest

.github/workflows/pr-precommit.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ on:
2828
- release-candidate
2929
- hotfix-*
3030

31+
permissions:
32+
contents: read
33+
3134
jobs:
3235
pre-commit:
3336
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)