Skip to content

Commit 743c46a

Browse files
committed
Use the matrix identifier to name the "Check Certificates" workflow jobs
When no name is provided for a matrix job, the workflow job is named according to the contents of `jobs[].<job_id>.strategy.matrix[]`. That can result in some fairly cryptic job names when the matrix contains a complex data structure as is the case here. We already have a string to uniquely identify each certificate to humans, which is exactly what the `jobs[].<job_id>.name` property does for jobs, so it will be an improvement to name the jobs according to that identifier.
1 parent c645955 commit 743c46a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/check-certificates.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ env:
2020

2121
jobs:
2222
check-certificates:
23+
name: ${{ matrix.certificate.identifier }}
2324
# Only run when the workflow will have access to the certificate secrets.
2425
if: >
2526
(github.event_name != 'pull_request' && github.repository == 'arduino/arduino-create-agent') ||

0 commit comments

Comments
 (0)