Skip to content

Commit 227d6bb

Browse files
committed
github ref
1 parent e37305f commit 227d6bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/nuget-lockfile-sync.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ jobs:
4545
git commit -m 'Update lock files' || echo "No changes to commit"
4646
4747
# Use GITHUB_HEAD_REF for PR branch name, not GITHUB_REF
48-
BRANCH_NAME="${{ github.head_ref }}"
48+
BRANCH_NAME="${{ github.ref }}"
4949
echo "The branch name is $BRANCH_NAME"
50-
git push origin "$BRANCH_NAME"
50+
git push

0 commit comments

Comments
 (0)