diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml index 7ddfd33bc..23490ad91 100644 --- a/.github/workflows/clippy.yml +++ b/.github/workflows/clippy.yml @@ -3,12 +3,16 @@ on: [pull_request] jobs: clippy: runs-on: ubuntu-latest + permissions: + pull-requests: write steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - uses: dtolnay/rust-toolchain@master with: toolchain: stable components: clippy - - uses: giraffate/clippy-action@v1.0.1 + - uses: giraffate/clippy-action@main with: reporter: "github-pr-review" + level: "info" + github_token: ${{ github.token }}