From 7e3f54d0c85f549fc8ba10c802553218b905a494 Mon Sep 17 00:00:00 2001 From: Max Niederman Date: Mon, 22 Apr 2024 21:57:02 -0700 Subject: [PATCH] ci: give lint job perms to add annotations --- .github/workflows/rust.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 0212e37..6093d5a 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -48,6 +48,8 @@ jobs: lint: name: Lint runs-on: ubuntu-latest + permissions: + checks: write steps: - name: Setup | Checkout uses: actions/checkout@v2 @@ -64,4 +66,4 @@ jobs: uses: actions-rs/clippy-check@v1 with: token: ${{ secrets.GITHUB_TOKEN }} - args: --all-features + args: --all-features \ No newline at end of file