mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[GH-ISSUE #1313] job matrix, concurrent job execution, job context isolation #711
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#711
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 @AnthonyHeffnerXformative on GitHub (Aug 22, 2022).
Original GitHub issue: https://github.com/nektos/act/issues/1313
Bug report info
Command used with act
Describe issue
From log output, it appears when running there is some issue with correctly assigning and isolating matrix data to the job, this example shows that job 2 is picking up context from job 1:
[Distribute Workflows/act-concurrency-issue-2] 🐳 docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/1.sh] user= workdir=./target_repo_1
Job 2, should be assign workdir=./target_repo_2, not 1.
Link to GitHub repository
No response
Workflow content
Relevant log output
Additional information
No response
@github-actions[bot] commented on GitHub (Sep 22, 2022):
Issue is stale and will be closed in 14 days unless there is new activity
@ChristopherHX commented on GitHub (Sep 24, 2022):
setupShellandsetupWorkingDirectoryshall not replace the step model, instead this probably should move to thestepRunstruct.Otherwise
runcontext.Steps()could clone every step, this is probably the fastest path to hide this bug.github.com/nektos/act@96ba76bff2/pkg/runner/step_run.go (L133-L174)