diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index a9f46ef62..73e418b4c 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -6,6 +6,7 @@ on: pull_request: permissions: contents: read + pull-requests: read # Remove along with only-new-issues by 2025 jobs: golangci: name: lint @@ -24,4 +25,6 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@v6 with: + args: --whole-files # Remove alogn with only-new-issues by 2025 version: ${{ steps.golangcilint.outputs.version }} + only-new-issues: true # Remove along with pull-requests: read permission by 2025