You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When viewing the value of 'GITHUB_WORKSPACE' and 'github.workspace' printed in the logs, he found that the path was "/actions-runner/gh-ci-01/_work/humio/refs/pull/8401/merge".
Normally, the path of the default workspace should like as below:
<runner-installation-directory>/_work/<repo-name>/<repo-name>
OR <runner-installation-directory>/work/<repo-name>/<repo-name>
In the customer's case, the correct path should be "/actions-runner/gh-ci-01/_work/humio/humio". But why the path was changed?
The text was updated successfully, but these errors were encountered:
According to what has been mentioned in "actions/runner#702", it seems that the checkout action can change the path of the default workspace and cause error like "No such file or directory".
Is this problem also related to the issue of the checkout action?
Just to make sure this is not missed: The path /actions-runner/gh-ci-01/_work/humio/refs/pull/8401/merge is mentioning pull request 8401, but the action is running as part of the workflow for pull request 8410. This seems wrong.
Uh oh!
There was an error while loading. Please reload this page.
Associated GitHub Community ticket: https://github.community/t/github-actions-is-setting-github-workspace-incorrectly/132187
The customer has a workflow like as below:
When viewing the value of 'GITHUB_WORKSPACE' and 'github.workspace' printed in the logs, he found that the path was "/actions-runner/gh-ci-01/_work/humio/refs/pull/8401/merge".
Normally, the path of the default workspace should like as below:
In the customer's case, the correct path should be "/actions-runner/gh-ci-01/_work/humio/humio". But why the path was changed?
The text was updated successfully, but these errors were encountered: