Skip to content

Commit 0b83759

Browse files
Potential fix for code scanning alert no. 4: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 24264b0 commit 0b83759

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/check.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ jobs:
7272
test:
7373
name: cargo test
7474
runs-on: ubuntu-latest
75+
permissions:
76+
contents: read
7577
steps:
7678
- uses: actions/checkout@v4
7779
- uses: dtolnay/rust-toolchain@stable

0 commit comments

Comments
 (0)