diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 4d5e82b..4419286 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -3,6 +3,12 @@ on: push: branches: - master + paths: + - "commands/**.go" + - "internal/**/*.go" + - "pkg/**/*.go" + - "cmd/*/*.go" + - "go.*" pull_request: jobs: golangci: diff --git a/.goreleaser.yml b/.goreleaser.yml index 3405c34..edb86a0 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -18,6 +18,6 @@ changelog: sort: desc filters: exclude: - - '^docs' - - '^changelog' - - 'Merge pull request' + - docs$ + - changelog$ + - Merge pull request$