Skip to content

Commit 4863ec3

Browse files
committed
ci: remove matrix name override to fix skipped check display
When matrix jobs are skipped, `${{ matrix.name }}` is never expanded, showing literal "matrix.name" in the checks UI. Removing the `name:` field lets GitHub use the job ID when skipped and auto-expand matrix values when running.
1 parent f658fc5 commit 4863ec3

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,6 @@ jobs:
231231
- name: init-optimization
232232
script: end_to_end_test_init_optimization.py
233233
expected_improvement: 10
234-
name: ${{ matrix.name }}
235234
environment: ${{ (github.event_name == 'workflow_dispatch' || (contains(toJSON(github.event.pull_request.files.*.filename), '.github/workflows/') && github.event.pull_request.user.login != 'misrasaurabh1' && github.event.pull_request.user.login != 'KRRT7')) && 'external-trusted-contributors' || '' }}
236235
runs-on: ubuntu-latest
237236
env:
@@ -328,7 +327,6 @@ jobs:
328327
script: end_to_end_test_js_ts_class.py
329328
js_project_dir: code_to_optimize/js/code_to_optimize_ts
330329
expected_improvement: 30
331-
name: ${{ matrix.name }}
332330
environment: ${{ (github.event_name == 'workflow_dispatch' || (contains(toJSON(github.event.pull_request.files.*.filename), '.github/workflows/') && github.event.pull_request.user.login != 'misrasaurabh1' && github.event.pull_request.user.login != 'KRRT7')) && 'external-trusted-contributors' || '' }}
333331
runs-on: ubuntu-latest
334332
env:
@@ -414,7 +412,6 @@ jobs:
414412
script: end_to_end_test_java_void_optimization.py
415413
expected_improvement: 70
416414
remove_git: true
417-
name: ${{ matrix.name }}
418415
environment: ${{ (github.event_name == 'workflow_dispatch' || (contains(toJSON(github.event.pull_request.files.*.filename), '.github/workflows/') && github.event.pull_request.user.login != 'misrasaurabh1' && github.event.pull_request.user.login != 'KRRT7')) && 'external-trusted-contributors' || '' }}
419416
runs-on: ubuntu-latest
420417
env:

0 commit comments

Comments
 (0)