From 3963f9bfbcf019133956d9fe1ac82e0fd57511b0 Mon Sep 17 00:00:00 2001 From: Jamie Hewitt Date: Wed, 18 May 2022 11:56:12 +0300 Subject: [PATCH] Updating branch name - base head ref in github actions --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 962ca189..2172a57e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -219,7 +219,7 @@ jobs: - name: commit run: | # Stage the file, commit and push - BRANCH=${GITHUB_REF#refs/heads/} + BRANCH=${GITHUB_HEAD_REF#refs/heads/} echo ${BRANCH} git checkout ${BRANCH} git add CodeExamples.md