diff --git a/.github/workflows/cleanup-ephemeral-environment.yml b/.github/workflows/cleanup-ephemeral-environment.yml index 7d1f370b73..d5c34a7bb4 100644 --- a/.github/workflows/cleanup-ephemeral-environment.yml +++ b/.github/workflows/cleanup-ephemeral-environment.yml @@ -52,7 +52,7 @@ jobs: workflow_id: '_ephemeral_environment_pr_manager.yml', ref: 'main', inputs: { - ephemeral_env_branch: '$GITHUB_HEAD_REF', + ephemeral_env_branch: process.env.GITHUB_HEAD_REF, cleanup_config: true, project: 'server' }