Skip to content

Commit 057957a

Browse files
committed
checkout git branch in GitHub action
1 parent a08e6f4 commit 057957a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
git config --global user.signingkey "[email protected]"
4545
git config --global user.name "Cloudnode [bot]"
4646
git config --global user.email "[email protected]"
47+
git checkout "${GITHUB_REF#refs/heads/}"
4748
git add "**/index.ts"
4849
git commit -S -m "chore: update indices"
4950
git push

0 commit comments

Comments
 (0)