From bad28700731842bdb250ecae60febbfb7a3dfa99 Mon Sep 17 00:00:00 2001 From: Alan Agius <17563226+alan-agius4@users.noreply.github.com> Date: Thu, 8 May 2025 13:47:28 +0000 Subject: [PATCH] ci: use bash syntax for `CURRENT_BRANCH` in GitHub Actions (#61212) Replaces incorrect use of GitHub Actions expression syntax `${{CURRENT_BRANCH }}` inside a run block with proper bash variablesyntax `$CURRENT_BRANCH`, preventing 'Unrecognized named-value' errors. PR Close #61212 --- .github/workflows/sync-angular-robot-forked-repo.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sync-angular-robot-forked-repo.yml b/.github/workflows/sync-angular-robot-forked-repo.yml index 14e32daafe0..2e57fb6faea 100644 --- a/.github/workflows/sync-angular-robot-forked-repo.yml +++ b/.github/workflows/sync-angular-robot-forked-repo.yml @@ -41,5 +41,5 @@ jobs: git remote add upstream "$UPSTREAM_URL" git remote -v - echo "Pushing ${{ CURRENT_BRANCH }} from origin to $UPSTREAM_OWNER upstream..." - git push upstream "${CURRENT_BRANCH}" + echo "Pushing $CURRENT_BRANCH from origin to $UPSTREAM_OWNER upstream..." + git push upstream "$CURRENT_BRANCH"