Skip to content

Commit 4e73474

Browse files
committed
fix: define permissions for ci
1 parent 6e66e12 commit 4e73474

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,17 @@ on:
55
branches: [main]
66
pull_request:
77

8+
permissions:
9+
contents: read
10+
811
jobs:
912
check:
1013
name: ${{ matrix.check }}
1114
runs-on: ubuntu-latest
1215
strategy:
1316
fail-fast: false
1417
matrix:
15-
check: ['fmt:check', lint, 'lint:sh', validate]
18+
check: ["fmt:check", lint, "lint:sh", validate]
1619
steps:
1720
- uses: actions/checkout@v6
1821
- uses: oven-sh/setup-bun@v2

0 commit comments

Comments
 (0)