Skip to content

Commit

Permalink
Make golangci-lint only run on main and branches (remove tags)
Browse files Browse the repository at this point in the history
  • Loading branch information
orishoshan committed May 22, 2023
1 parent 8f770a4 commit db92f8f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
name: golangci-lint
on:
pull_request:
types:
- opened
- synchronize
push:
tags:
- v*
branches:
- main
pull_request:
permissions:
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
Expand Down

0 comments on commit db92f8f

Please sign in to comment.