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 }}
This repository was archived by the owner on Jan 16, 2025. It is now read-only.
Interpolation was applied within the user-data.sh context, causing
unexpected empty values for variables and other unintended effects.
While this behavior might be useful in certain cases, it requires
consistently escaping everything in hook scripts. This approach feels
error-prone and unintuitive.
For example, the following configuration will echo an empty string and
the date of string interpolation, but not the date of the job's start:
```
runner_hook_job_started: |
echo $GITHUB_WORKSPACE
echo $(date)
```
This PR disables interpolation of the hook script contents when they are
being written to the file.
Also the link in user-data.sh to GitHub start/completed docs has been
updated.
Co-authored-by: Niek Palm <[email protected]>
0 commit comments