-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
ariel-os/ariel-os
#491Labels
enhancementNew feature or requestNew feature or requestfutureFeature work that we haven't prioritizedFeature work that we haven't prioritized
Description
echo 'SOME_VAR=some-value' >> $GITHUB_ENV can be used to set an environment variable for subsequent steps, but there seems to be no documented way to unset it.
Note that echo 'SOME_VAR=' >> $GITHUB_ENV will set it to the empty value, but that's different from not having the variable set at all.
Rationale: In some workflows, it might be necessary to checkout and/or run untrusted code. At that point I'd like to clean up as much sensitive values as possible. Unsetting env vars (like SSH_AGENT_PID or SSH_AUTH_SOCK) is part of this.
byF, gricey432, fh-yuxiao-zeng, chriscatuk, ndvbu and 83 morejmurzy and duaneking
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestfutureFeature work that we haven't prioritizedFeature work that we haven't prioritized