Skip to content

Commit

Permalink
chore: grant permission for audit-check to write to checks and issues (
Browse files Browse the repository at this point in the history
danking authored Nov 4, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 360b4a9 commit 75bcd34
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -9,6 +9,8 @@ on:
permissions:
actions: read
contents: read
checks: write # audit-check creates checks
issues: write # audit-check creates issues

env:
CARGO_TERM_COLOR: always
@@ -118,10 +120,14 @@ jobs:
- name: Rust Test
run: cargo test --workspace --all-features

license-check:
name: License check
license-check-and-audit-check:
name: License Check and Audit Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/cleanup
- uses: rui314/setup-mold@v1
- uses: ./.github/actions/setup-rust
- uses: actions/checkout@v4
- name: License Check
run: cargo install --locked cargo-deny && cargo deny check

0 comments on commit 75bcd34

Please sign in to comment.