Commit 28ece17
authored
ci: add cargo-deny workflow (#38)
* ci: add cargo-deny workflow
Adds a GitHub Actions workflow that runs cargo-deny check on every
pull request and push to main. Uses the existing deny.toml added in
v0.8.0 so CI now enforces the advisory/license/source policy.
Actions pinned by commit SHA:
- actions/checkout@de0fac2e (v6.0.2)
- EmbarkStudios/cargo-deny-action@91bf2b62 (v2.0.17)
Closes the follow-up noted in deny.toml ("CI integration is a
follow-up; this file establishes the policy").
* fix(ci): add minimal contents:read permissions to deny.yml
CodeQL + Cursor flagged missing permissions block. cargo-deny only
reads the repo; explicit contents:read matches ci.yml and release.yml.1 parent ef5b071 commit 28ece17
1 file changed
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
0 commit comments