-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8fa60d5
commit e83c48d
Showing
2 changed files
with
3 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,15 +19,10 @@ jobs: | |
with: | ||
ref: ${{ github.event.pull_request.head.sha || github.ref }} | ||
|
||
- if: ${{ github.event.pull_request.head.repo.full_name == github.repository }} | ||
name: Scan for Vulnerabilities in Code (Internal PR) | ||
- name: Scan for Vulnerabilities in Code | ||
uses: golang/govulncheck-action@dd0578b371c987f96d1185abb54344b44352bd58 # [email protected] | ||
with: | ||
go-version-file: go.mod | ||
go-package: ./... | ||
check-latest: true | ||
repo-checkout: false | ||
|
||
- if: ${{ github.event.pull_request.head.repo.full_name != github.repository }} | ||
name: Skip Vulnerability Scan (External PR) | ||
run: echo "Skipping vulnerability scan for external PRs" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters