We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 761fcd5 commit 181ec1bCopy full SHA for 181ec1b
.github/workflows/versioned-security-agent.yml
@@ -58,7 +58,7 @@ jobs:
58
github.event_name == 'schedule' ||
59
needs.should_run.outputs.sec_agent_did_change == 'true'
60
61
- runs-on: {{ vars.NR_RUNNER || 'ubuntu-latest' }}
+ runs-on: ${{ vars.NR_RUNNER || 'ubuntu-latest' }}
62
63
strategy:
64
fail-fast: false
@@ -82,6 +82,7 @@ jobs:
82
run: TEST_CHILD_TIMEOUT=600000 npm run versioned:security
83
env:
84
VERSIONED_MODE: --${{ inputs.mode || 'major' }}
85
- JOBS: 4 # 2 per CPU seems to be the sweet spot in GHA (July 2022)
+ # Run more jobs when using larger runner, otherwise 2 per CPU seems to be the sweet spot in GHA default runners(July 2022)
86
+ JOBS: ${{ vars.NR_RUNNER && 16 || 4 }}
87
SKIP_C8: true
88
0 commit comments