Skip to content

Commit

Permalink
don't checkout repo/branch from action (#3646)
Browse files Browse the repository at this point in the history
  • Loading branch information
gerardsn authored Jan 8, 2025
1 parent 14aa419 commit 7dfcf97
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/govulncheck-cron-schedule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
- 'master'
- 'V5.4'
- 'V6.0'

steps:
- name: Checkout branch
uses: actions/checkout@v4
Expand All @@ -36,4 +37,6 @@ jobs:
# and detect container vulnerabilities in a different action?
go-version-input: '' # remove default
go-version-file: 'go.mod'
go-package: ./...
go-package: ./...
repo-checkout: false # will checkout the default branch if left on true
output-format: 'text' # leave on the default since other values will always result in successful completion of the action.

0 comments on commit 7dfcf97

Please sign in to comment.