Skip to content

Commit

Permalink
Prevent linter from linting every Go file in the upstream and on the …
Browse files Browse the repository at this point in the history
…system outside of the project
  • Loading branch information
thogarty committed Dec 13, 2024
1 parent 2820793 commit ef0f74e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,11 @@ jobs:
with:
version: v1.55.2
working-directory: provider
args: --skip-dirs "/usr/local/go|/upstream|/go/pkg"
- if: failure() && github.event_name == 'push'
name: Notify Slack
uses: 8398a7/action-slack@v3
with:
author_name: Failure in linting provider
fields: repo,commit,author,action
status: ${{ job.status }}
status: ${{ job.status }}

0 comments on commit ef0f74e

Please sign in to comment.