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
{{ message }}
Repository navigation
github.action_path contains wrong path when used inside a container #2185
Runner BugBug fix scope to the runnerbugSomething isn't workingkeepLabel can be added as soon as we are sure the work on the issue is necessarytriagedNeeds extra internal investigation before adding ready-for-dev
Describe the bug
When using ${{ github.action_path }} inside a local composite action and calling this action in a job that runs inside a container, ${{ github.action_path }} gets resolved to /home/runner/work/ga-test-public/ga-test-public/./.github/actions/repro instead of /__w/ga-test-public/ga-test-public/./.github/actions/repro.
There are other closed issues describing the same problem (#716, #965) and a merged pull request (#1762) that should have fixed the issue, but I am still getting the wrong path on GitHub shared runners with version 2.297.0
Thank you for reporting this! We are aware of this issue. The PR #1762 solved this issue, but there was a problem with hash files, executing from a host machine. We are still exploring the best way to achieve this. I will post an update here about the progress regarding this issue.
This PR is in review and as soon as it is in, and the feature flag is on, then it should be okay.
Until then, can you try passing actions_path as an env. Env variables are translated so container paths so it should be okay if you can use it ☺️
Runner BugBug fix scope to the runnerbugSomething isn't workingkeepLabel can be added as soon as we are sure the work on the issue is necessarytriagedNeeds extra internal investigation before adding ready-for-dev
Activity
nikola-jokic commentedon Oct 7, 2022
Hey @WIStudent,
Thank you for reporting this! We are aware of this issue. The PR #1762 solved this issue, but there was a problem with hash files, executing from a host machine. We are still exploring the best way to achieve this. I will post an update here about the progress regarding this issue.
abhijeetdhoke commentedon May 20, 2023
What is end result in .yml file how to implement this change to .yml file
MSAdministrator commentedon Jun 7, 2023
Has there been any updates to this issue? This is blocking some internal workflows.
nikola-jokic commentedon Jun 7, 2023
Hey @MSAdministrator,
This PR is in review and as soon as it is in, and the feature flag is on, then it should be okay.☺️
Until then, can you try passing actions_path as an env. Env variables are translated so container paths so it should be okay if you can use it
MSAdministrator commentedon Jun 7, 2023
I was able to get it by just replacing the string using python
chore(deps): update dependency aquaproj/aqua-installer to v2.1.2 (#61)
azlam-abdulsalam commentedon Jun 28, 2023
@nikola-jokic any updates on this issue?
nikola-jokic commentedon Jul 3, 2023
We merged the PR so the next release should have this functionality☺️ . We also have a feature flag in case something goes wrong
22 remaining items
BUILD-7937 workaround github.action_path issue
BUILD-7937 workaround github.action_path issue
BUILD-7937 workaround github.action_path issue
Fix issues with setup-fortran in a container (#153)
Fix `No such file or directory` when `source`ing inside a GitHub Runn…
Fix `No such file or directory` when `source`ing inside a GitHub Runn…
fix(action): use GITHUB_ACTION_PATH env var instead of context var
fix(action): use GITHUB_ACTION_PATH env var instead of context var (c…
fix(dde): reference setup-dde via full repo path in project-up
fix(dde): reference setup-dde via full repo path in project-up (#93)
fix(build-jupyter-cache): make container-mode failure alerting actual…
Resolve find-pod.sh via GITHUB_ACTION_PATH and always emit a pod-status
chore(ci): run the desktop build cache action inside a job container
chore(ci): run the desktop build cache action inside a job container
chore(ci): run the desktop build cache action inside a job container