Skip to content

Commit 844512a

Browse files
authored
ci: add permissions to build workflow
1 parent 70ce22e commit 844512a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ jobs:
66
lints:
77
name: Lints
88
runs-on: ubuntu-latest
9+
permissions:
10+
contents: read
911
steps:
1012
- name: Checkout sources
1113
uses: actions/checkout@v4
@@ -31,6 +33,8 @@ jobs:
3133
run: cargo clippy -- -D warnings
3234
test:
3335
name: Build debug artifacts
36+
permissions:
37+
contents: read
3438
strategy:
3539
matrix:
3640
build: [x86_64-linux, aarch64-linux, x86_64-macos, aarch64-macos, x86_64-win-msvc]

0 commit comments

Comments
 (0)