Skip to content

It does not work when using jobs with matrix #394

Answered by rdhar
csaavedravanta asked this question in Q&A
Discussion options

You must be logged in to vote

Great Q, so there's a few takeaways here:

  • 🟢 Great to hear the default configuration worked for most cases!

  • 🟢 The handling of empty matrix value(s) can be addressed by the workaround "Edit" below.

  • 🔴 Unfortunately, the source of the problem is upstream: specifically with GitHub API discussed here and there.

    • In short, the job's name is its unique identifier, while also over-written by the name: attribute and matrix strategy.
    • But the final/over-written value is not exposed anywhere, so we're left in the dark.
    • Despite it seeming to be a "simple" fix.

TF-via-PR's current behaviour is a workaround in order to make it work with most scenarios. At best, a new "job-name" input could be in…

Replies: 7 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by rdhar
Comment options

You must be logged in to vote
1 reply
@rdhar
Comment options

rdhar Jan 8, 2025
Maintainer

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #389 on January 03, 2025 19:09.