Skip to content

Commit 72d2953

Browse files
committed
fix: add missing permissions for lint jobs in workflow
1 parent 41af375 commit 72d2953

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/lint-readme.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ jobs:
1212
lint-gh-cli-readme:
1313
name: Lint ./gh-cli/README.md
1414
runs-on: ubuntu-latest
15+
permissions:
16+
contents: read
1517

1618
steps:
1719
- name: Checkout code
@@ -23,6 +25,8 @@ jobs:
2325
lint-scripts-readme:
2426
name: Lint ./scripts/README.md
2527
runs-on: ubuntu-latest
28+
permissions:
29+
contents: read
2630

2731
steps:
2832
- name: Checkout code

0 commit comments

Comments
 (0)