From 75bcd347523a9fb056979a6969ae7acb9e689cce Mon Sep 17 00:00:00 2001 From: Dan King Date: Mon, 4 Nov 2024 15:09:27 -0500 Subject: [PATCH] chore: grant permission for audit-check to write to checks and issues (#1208) https://github.com/spiraldb/vortex/actions/runs/11671220538/job/32497123481 --- .github/workflows/ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2cee4c2fa3..a405958545 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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