Merge pull request #15465 from reitermarkus/github-variables

Guard `GITHUB_*` variables by `GITHUB_ACTIONS`.
This commit is contained in:
Mike McQuaid 2023-05-22 13:34:38 +01:00 committed by GitHub
commit 83936df1c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -165,7 +165,7 @@ do
FILTERED_ENV+=("${VAR}=${!VAR}")
done
if [[ -n "${CI:-}" ]]
if [[ -n "${GITHUB_ACTIONS:-}" ]]
then
for VAR in "${!GITHUB_@}"
do