Skip to content

Commit

Permalink
chore: add ci permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-sirotin committed Jun 20, 2024
1 parent 268c316 commit f4e7afe
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
cancel-in-progress: true# Optional: allow write access to checks to allow the action to annotate code in the PR.

jobs:

Expand Down Expand Up @@ -76,4 +76,8 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.58
version: v1.56.2
permissions:
contents: read # Required: allow read access to the content for analysis.
pull-requests: read # Optional: allow read access to pull request. Use with `only-new-issues` option.
checks: write

0 comments on commit f4e7afe

Please sign in to comment.