Repository navigation
Conversation
Jobs with the same workflow and job names in different repositories got the same container name, so --reuse handed one repository's retained container and volumes to another. Add a short hash of the workdir to the name so it stays repeatable per repository. Fixes nektos#6258
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Fixes #6258
The job container name was built only from the workflow and job names, so with --reuse two repositories that use the same workflow and job names got the same container and volumes. The second run then failed with a chdir error into the first repository's workdir.
This adds a short hash of the workdir to the job container name (option 1 from the issue). The name is still repeatable for the same repository, so --reuse keeps working. Existing retained containers get a new name once after upgrading.
Description
Checklist
fixes #123)Summary by CodeRabbit