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