Require a parent directory for Workspace #145

Closed
opened 2023-04-25 03:17:51 +00:00 by PittyXu · 2 comments

Now the GITHUB_WORKSPACE directory is directly under the root directory: /org/project.

This may cause a conflict between the organization name and the Linux directory name, so it is hoped to set a parent directory for WORKSPACE, like /workspace/org/project.

Now the GITHUB_WORKSPACE directory is directly under the root directory: `/org/project`. This may cause a conflict between the organization name and the Linux directory name, so it is hoped to set a parent directory for WORKSPACE, like `/workspace/org/project`.
lunny added the
kind
proposal
label 2023-04-25 06:51:21 +00:00
Member

This is indeed a problem. I created a user called usr and created a bin repo for the user, when I try to run some jobs in the /usr/bin repo, some unexpected behavior occurs.

Maybe we could specify a parent directory for the workspace directory, but the name of the parent directory may still conflict with other directories because we don't know which directories will be in the image used by the user.

This is indeed a problem. I created a user called `usr` and created a `bin` repo for the user, when I try to run some jobs in the `/usr/bin` repo, some unexpected behavior occurs. Maybe we could specify a parent directory for the workspace directory, but the name of the parent directory may still conflict with other directories because we don't know which directories will be in the image used by the user.
Author

@Zettat123 Alternatively, a default directory needs to be defined, which can be modified through the Runner's configuration file.

@Zettat123 Alternatively, a default directory needs to be defined, which can be modified through the Runner's configuration file.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: gitea/act_runner#145
No description provided.