Skip to content

Commit c35130f

Browse files
Update update_paddle_submodule.yml (#1874)
1 parent ffe7bea commit c35130f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/update_paddle_submodule.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@ jobs:
2222
git config --global user.name "tianshuo78520a"
2323
git config --global user.email "[email protected]"
2424
git submodule update --remote --init
25-
cd Paddle
26-
git add .
27-
git commit -m "Update Paddle to latest commit"
25+
cd Paddle && git checkout develop && git pull
26+
cd ..
27+
git add Paddle
28+
git commit -m "Update submodule" || echo "No changes to commit"
2829
git status
30+
2931
- name: Create Pull Request
3032
uses: peter-evans/create-pull-request@v5
3133
with:

0 commit comments

Comments
 (0)