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
⚠️ For composite actions, the $GITHUB_ACTION_REF and $GITHUB_ACTION_REPOSITORY environment variables are showing up as empty for the run step execution environment.
⚠️ Similarly, but at a different point in the lifecycle, the ${{ github.action_ref }} and ${{ github.action_repository }} expression variable references are also showing up as empty at the time of expression evaluation for the run block.
To Reproduce
Steps to reproduce the behavior:
My annotations show up inlined below as one of the following:
# missing
# expected
# corrected
Assuming the composite action is referenced as uses: paper-spa/jekyll-build-pages@main in a workflow:
OS of the machine running the runner? OSX/Windows/Linux/...
Ubuntu Linux 🐧
What's not working?
Please include error messages and screenshots.
N/A
Job Log Output
If applicable, include the relevant part of the job / step log output here. All sensitive information should already be masked out, but please double-check before pasting here.
Inlined above.
Runner and Worker's Diagnostic Logs
If applicable, add relevant diagnostic log information. Logs are located in the runner's _diag folder. The runner logs are prefixed with Runner_ and the worker logs are prefixed with Worker_. Each job run correlates to a worker log. All sensitive information should already be masked out, but please double-check before pasting here.
N/A?
The text was updated successfully, but these errors were encountered:
JamesMGreene
changed the title
Composite actions have empty values for important environment variables: GITHUB_ACTION_REF and GITHUB_ACTION_PATH
Composite actions have empty values for important environment variables: GITHUB_ACTION_REF and GITHUB_ACTION_REPOSITORYApr 13, 2023
Describe the bug
$GITHUB_ACTION_REF
and$GITHUB_ACTION_REPOSITORY
environment variables are showing up as empty for therun
step execution environment.${{ github.action_ref }}
and${{ github.action_repository }}
expression variable references are also showing up as empty at the time of expression evaluation for therun
block.To Reproduce
Steps to reproduce the behavior:
My annotations show up inlined below as one of the following:
# missing
# expected
# corrected
Assuming the composite action is referenced as
uses: paper-spa/jekyll-build-pages@main
in a workflow:With composite action steps:
Output is:
Logs show the command evaluated as:
Trying to manually override those environment variables with
env:
also fails:Output is identical despite the attempt at overriding those empty environment variables:
Logs show the command evaluated as:
Expected behavior
A clear and concise description of what you expected to happen.
Output expected:
Logs should show command evaluated as:
Runner Version and Platform
Version of your runner?
ubuntu-latest
on GitHub.com 🤷🏻♂️OS of the machine running the runner? OSX/Windows/Linux/...
What's not working?
Please include error messages and screenshots.
N/A
Job Log Output
If applicable, include the relevant part of the job / step log output here. All sensitive information should already be masked out, but please double-check before pasting here.
Inlined above.
Runner and Worker's Diagnostic Logs
If applicable, add relevant diagnostic log information. Logs are located in the runner's
_diag
folder. The runner logs are prefixed withRunner_
and the worker logs are prefixed withWorker_
. Each job run correlates to a worker log. All sensitive information should already be masked out, but please double-check before pasting here.N/A?
The text was updated successfully, but these errors were encountered: