mirror of
https://github.com/denoland/deno.git
synced 2024-12-23 15:49:44 -05:00
chore(ci): skip running the benchmarks on a PR except when a label is added (#17377)
This commit is contained in:
parent
09c183f4a0
commit
918a19d8f2
3 changed files with 6 additions and 2 deletions
1
.github/PULL_REQUEST_TEMPLATE.md
vendored
1
.github/PULL_REQUEST_TEMPLATE.md
vendored
|
@ -20,4 +20,5 @@ Before submitting a PR, please read http://deno.land/manual/contributing
|
|||
6. Ensure `./tools/lint.js` passes.
|
||||
7. Open as a draft PR if your work is still in progress. The CI won't run
|
||||
all steps, but you can add '[ci]' to a commit message to force it to.
|
||||
8. If you would like to run the benchmarks on the CI, add the 'ci-bench' label.
|
||||
-->
|
||||
|
|
4
.github/workflows/ci.generate.ts
vendored
4
.github/workflows/ci.generate.ts
vendored
|
@ -192,7 +192,7 @@ const ci = {
|
|||
},
|
||||
concurrency: {
|
||||
group:
|
||||
"${{ github.workflow }}-${{ !contains(github.event.pull_request.labels.*.name, 'test-flaky-ci') && github.head_ref || github.run_id }}",
|
||||
"${{ github.workflow }}-${{ !contains(github.event.pull_request.labels.*.name, 'ci-test-flaky') && github.head_ref || github.run_id }}",
|
||||
"cancel-in-progress": true,
|
||||
},
|
||||
jobs: {
|
||||
|
@ -243,6 +243,8 @@ const ci = {
|
|||
job: "bench",
|
||||
profile: "release",
|
||||
use_sysroot: true,
|
||||
skip_pr:
|
||||
"${{ !contains(github.event.pull_request.labels.*.name, 'ci-bench') }}",
|
||||
},
|
||||
{
|
||||
os: Runners.linux,
|
||||
|
|
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
@ -14,7 +14,7 @@ on:
|
|||
- synchronize
|
||||
- ready_for_review
|
||||
concurrency:
|
||||
group: '${{ github.workflow }}-${{ !contains(github.event.pull_request.labels.*.name, ''test-flaky-ci'') && github.head_ref || github.run_id }}'
|
||||
group: '${{ github.workflow }}-${{ !contains(github.event.pull_request.labels.*.name, ''ci-test-flaky'') && github.head_ref || github.run_id }}'
|
||||
cancel-in-progress: true
|
||||
jobs:
|
||||
build:
|
||||
|
@ -50,6 +50,7 @@ jobs:
|
|||
job: bench
|
||||
profile: release
|
||||
use_sysroot: true
|
||||
skip_pr: '${{ !contains(github.event.pull_request.labels.*.name, ''ci-bench'') }}'
|
||||
- os: '${{ github.repository == ''denoland/deno'' && ''ubuntu-20.04-xl'' || ''ubuntu-20.04'' }}'
|
||||
job: test
|
||||
profile: debug
|
||||
|
|
Loading…
Reference in a new issue