Skip to content

Commit a09ad8c

Browse files
committed
entrypoint
- get the branch checkout out
1 parent 1dfb098 commit a09ad8c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

entrypoint

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,13 @@ git config --global user.name "GitHub Submodules Action"
3131
3232
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${REPO}.git
3333
34-
git fetch origin ${REF}
34+
git fetch --all -p
35+
git checkout "${REF}"
3536
3637
git submodule init
3738
git submodule update
3839
git submodule foreach 'git fetch --all -p'
3940
git submodule foreach 'git merge origin/master'
4041
git add -v .
4142
git commit -m "bumping submodules"
42-
git push origin ${REF}
43+
git push origin "${REF}"

0 commit comments

Comments
 (0)