Skip to content

Commit

Permalink
chore: run golangci on PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkato committed Oct 9, 2024
1 parent b6df01b commit bb2aad3
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
name: golangci-lint
on:
pull_request:
push:
branches:
- v3
pull_request:

permissions:
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
# pull-requests: read
pull-requests: read

jobs:
golangci:
Expand Down Expand Up @@ -38,7 +37,7 @@ jobs:
# args: --timeout=30m --config=/my/path/.golangci.yml --issues-exit-code=0

# Optional: show only new issues if it's a pull request. The default value is `false`.
# only-new-issues: true
only-new-issues: true

# Optional: if set to true, then all caching functionality will be completely disabled,
# takes precedence over all other caching options.
Expand Down

0 comments on commit bb2aad3

Please sign in to comment.