mirror of https://github.com/status-im/consul.git
ci: increase runner size for security scans (#20068)
We've noticed runners appearing to become resource-starved during heavy CI traffic. While we should try to prevent this by limiting the scanner's CPU consumption, increasing the runner size should help in the interim.
This commit is contained in:
parent
0e73c32ac2
commit
a1c0115a74
|
@ -47,7 +47,7 @@ jobs:
|
|||
|
||||
scan:
|
||||
needs: [setup]
|
||||
runs-on: ${{ fromJSON(needs.setup.outputs.compute-large) }}
|
||||
runs-on: ${{ fromJSON(needs.setup.outputs.compute-xl) }}
|
||||
# The first check ensures this doesn't run on community-contributed PRs, who
|
||||
# won't have the permissions to run this job.
|
||||
if: ${{ (github.repository != 'hashicorp/consul' || (github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name))
|
||||
|
|
Loading…
Reference in New Issue