Skip to content

Commit 787e5b3

Browse files
committed
fix(ci): daily workflow job names
1 parent da61305 commit 787e5b3

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/daily_test_all_latest_deps.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@ jobs:
120120
run:
121121
shell: ${{ matrix.config.shell }}
122122

123-
name: "${{ matrix.config.os }}-${{ matrix.config.cpu }} (${{ matrix.nim.ref }}; ${{ matrix.config.cc }}; ${{ matrix.nim.memory_management }})"
123+
name: >-
124+
${{ github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'run-daily-ci') && 'Test latest dependencies' || format('{0}-{1} (Nim {2}; {3}; {4})', matrix.config.os, matrix.config.cpu, matrix.nim.ref, matrix.config.cc, matrix.nim.memory_management) }}
124125
runs-on: ${{ matrix.config.builder }}
125126
steps:
126127
- name: Checkout

.github/workflows/dependencies.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ jobs:
2525
vars.DEPENDENCIES_AUTOBUMP_ENABLED == 'true') &&
2626
(github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'run-bump-ci'))
2727
runs-on: ubuntu-latest
28-
name: Bump libp2p's version for ${{ matrix.target.repository }}:${{ matrix.target.ref }}
28+
name: >-
29+
${{ ((github.event_name == 'schedule' && vars.DEPENDENCIES_AUTOBUMP_ENABLED != '' && vars.DEPENDENCIES_AUTOBUMP_ENABLED != 'true') || (github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'run-bump-ci'))) && 'Bump libp2p version' || format('Bump libp2p version for {0}:{1}', matrix.target.repository, matrix.target.ref) }}
2930
strategy:
3031
fail-fast: false
3132
matrix:

0 commit comments

Comments
 (0)