Repository navigation
Use StepHost when evaluating inputs to actions - #1762
Conversation
Let me double check how we convert these for other variables, it this not getting converted for some reason?
You are only converting the environment variables, no single expressions contexts has ever been translated to a container path. - run: echo '${{github.workspace}}'
shell: bashThe following two prints the container path - run: echo $WP
env:
WP: ${{github.workspace}}
shell: bash- run: echo $GITHUB_WORKSPACE
shell: bash
|
|
So, this does solve the issue for this specific context variable, however this problem exists for ALL path based context variables. For example consider the composite action: The env's will get translated, the |
|
Can we update the PR description to include an output of dumping |
|
@TingluoHuang of course! I will fix all of the suggestions as soon as I can 👍 |
|
Hi, where the container image is being pulled from ECR |
|
@faubion-hbo We recognised this as a sensitive change and rolling it out gradually. |
|
does not work. I had to change |
Put the script path using both the env var, and the context value for the "github.action_path". This should make the containers see the script. Reference: actions/runner#1762 (comment)
|
The problem still exists on self-hosted runners (actions-runner-controller) using defined container value. |
Closes #716