Skip to content

Commit

Permalink
ci: skip running github action on vendor folder
Browse files Browse the repository at this point in the history
Signed-off-by: subhamkrai <[email protected]>
  • Loading branch information
subhamkrai committed Jun 25, 2024
1 parent 59d1fd3 commit 98aef77
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
name: lint
on:
push:
paths-ignore:
- 'vendor/*'
tags:
- v*
branches:
- main
- release-*
pull_request:
paths-ignore:
- 'vendor/*'
branches:
- main
- release-*
Expand All @@ -30,7 +34,7 @@ jobs:
- name: codespell
uses: codespell-project/actions-codespell@master
with:
skip: .git,*.sum
skip: .git,*.sum,vendor
ignore_words_list:
check_filenames: true
check_hidden: true
Expand Down Expand Up @@ -70,9 +74,11 @@ jobs:
name: govulncheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
check-latest: true
go-version-file: go.mod
- name: govulncheck
uses: golang/govulncheck-action@v1

0 comments on commit 98aef77

Please sign in to comment.