From 4374f8c55cd15b912d9197f3c251ce89e7533b68 Mon Sep 17 00:00:00 2001 From: Daniel King Date: Mon, 4 Nov 2024 14:52:19 -0500 Subject: [PATCH 1/2] chore: grant permission for audit-check to write to checks --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2cee4c2fa3..bad6c2746d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,6 +9,7 @@ on: permissions: actions: read contents: read + checks: write env: CARGO_TERM_COLOR: always From f9653884bcad72e54a95f3d591892e0cd9c9b21c Mon Sep 17 00:00:00 2001 From: Daniel King Date: Mon, 4 Nov 2024 15:06:24 -0500 Subject: [PATCH 2/2] include issues: write and add setup-rust to audit check --- .github/workflows/ci.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bad6c2746d..a405958545 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,8 @@ on: permissions: actions: read contents: read - checks: write + checks: write # audit-check creates checks + issues: write # audit-check creates issues env: CARGO_TERM_COLOR: always @@ -119,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