diff --git a/.github/workflows/lint-go-reusable.yml b/.github/workflows/lint-go-reusable.yml index 2dc7697..217b5ae 100644 --- a/.github/workflows/lint-go-reusable.yml +++ b/.github/workflows/lint-go-reusable.yml @@ -4,16 +4,6 @@ name: Lint code (reusable) on: - pull_request: - branches: - - "main" - - "release-*" - - "dev-*" - - "basic-*" - paths-ignore: - - "docs/**" - - "**.md" - - "sec-scanners-config.yaml" workflow_call: inputs: go-version: @@ -39,7 +29,7 @@ jobs: uses: actions/checkout@v4 - name: Download linter config - run: wget -O .golangci.yaml ${{ inputs.lint-config-uri }} # This can be a local file or a remote file. eg. https://raw.githubusercontent.com/kyma-project/eventing-tools/main/config/lint/.golangci.yaml + run: wget -O .golangci.yaml ${{ inputs.lint-config-uri }} # This can be a remote file only. eg. https://raw.githubusercontent.com/kyma-project/eventing-tools/main/config/lint/.golangci.yaml - name: golangci-lint uses: golangci/golangci-lint-action@v3