fix: interpolate job name after matrix expansion #1354
No reviewers
Labels
No labels
FreeBSD
Kind/Breaking
Kind/Bug
Kind/Chore
Kind/DependencyUpdate
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
Windows
linux-powerpc64le
linux-riscv64
linux-s390x
run-end-to-end-tests
run-forgejo-tests
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo/runner!1354
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "aahlenst/runner:name-incomplete-matrix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently, a job name is interpolated before an incomplete matrix is expanded. That is a problem when the job name references a matrix variable because the matrix variable is not known until the matrix is expanded and it gets replaced by an empty string instead of the matrix variable's value. This change delays the interpolation of the job name until after the matrix has been expanded so that the variable gets replaced with the proper value.
Fixes https://codeberg.org/forgejo/forgejo/issues/11177.
20ad4c0427e3637a08d6cascading-pr updated at actions/setup-forgejo#875
Looks good to me. 👍 Will run the supplemental tests and then we can give it a go. Requires a forgejo jobparser upgrade to make the fix effective.
cascading-pr updated at https://codeberg.org/forgejo/forgejo/pulls/11180