mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[GH-ISSUE #2648] Matrix include error #1202
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#1202
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Originally created by @silky1313 on GitHub (Feb 7, 2025).
Original GitHub issue: https://github.com/nektos/act/issues/2648
Bug report info
Command used with act
Describe issue
My own example
When I run the following workflow
The following is a relevant log of act
But when I put this on github and run,results are as follows
https://github.com/silky1313/matrix/actions/runs/13193098626
When I run it on github, there are only four jobs, but when I run it with act, there are five jobs
In summary, I think this is a bug。
Test bug
In
act/pkg/model/workflow_test.go.#TestReadWorkflow_StrategyThe result of the following matrix is
But the map should actually get is
Link to GitHub repository
https://github.com/silky1313/matrix
Workflow content
Relevant log output
Additional information
No response
@silky1313 commented on GitHub (Feb 7, 2025):
If it is a real problem, I can submit a Pull request to solve it.
@silky1313 commented on GitHub (Feb 7, 2025):
The above workflow confirms that the bug does exist
@unvermuthet commented on GitHub (Feb 7, 2025):
I just ran into this too while trying to have the include entires augmented by the matrix. Glad to see that you already fixed this. Thanks!
@julianxhokaxhiu commented on GitHub (Apr 17, 2025):
I just crossed this issue as well and would be nice to have a fix for it as it's creating an extra job for no reason. Thanks again!