mirror of
https://github.com/hashicorp/vault.git
synced 2026-02-18 18:38:08 -05:00
* use 'stable' instead of .go-version for the security scanner if we don't do this, the security scanner might not run because it's using a different version of Go than what we have on whatever release branch this is running on. * update branches the scanner runs on Co-authored-by: Josh Black <raskchanky@gmail.com>
This commit is contained in:
parent
ce23f4f2de
commit
59b23f628f
1 changed files with 3 additions and 2 deletions
5
.github/workflows/security-scan.yml
vendored
5
.github/workflows/security-scan.yml
vendored
|
|
@ -11,7 +11,8 @@ on:
|
|||
pull_request:
|
||||
branches:
|
||||
- 'main'
|
||||
- '!oss-merge-main*'
|
||||
- 'release/**'
|
||||
- 'ce/**'
|
||||
|
||||
jobs:
|
||||
scan:
|
||||
|
|
@ -29,7 +30,7 @@ jobs:
|
|||
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
|
||||
with:
|
||||
cache: false # save cache space for vault builds: https://github.com/hashicorp/vault/pull/21764
|
||||
go-version-file: .go-version
|
||||
go-version: 'stable'
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
|
||||
|
|
|
|||
Loading…
Reference in a new issue