File tree Expand file tree Collapse file tree 1 file changed +3
-18
lines changed
Expand file tree Collapse file tree 1 file changed +3
-18
lines changed Original file line number Diff line number Diff line change @@ -49,30 +49,15 @@ jobs:
4949 fetch-depth : 0
5050 submodules : ' true'
5151
52- - name : Set up Python
53- uses : actions/setup-python@v5
54- with :
55- python-version : ${{ env.PYTHON_VERSION }}
56-
57- - name : Install Dependencies
58- run : python -m pip install pip-tools
59-
6052 - name : Perform Edit/Git Operations
6153 run : |
62- cd ${{ github.workspace }}/submodules/parent-images
63- git checkout ${{ github.event.pull_request.base.ref }}
64-
65- cd ${{ github.workspace }}
66- git checkout ${{ needs.configure-branch-name.outputs.gh_head_ref }} || git checkout -b ${{ needs.configure-branch-name.outputs.gh_head_ref }}
67- git push origin ${{ needs.configure-branch-name.outputs.gh_head_ref }} && git pull origin ${{ needs.configure-branch-name.outputs.gh_head_ref }}
68-
6954 git config user.email "[email protected] " 7055 git config user.name "GitHub Actions"
7156
7257 git add submodules
73- git commit -m "ci: update submodules to origin/${{ needs.configure-branch-name.outputs.gh_head_ref }}" || true
74- git push origin ${{ needs.configure-branch-name.outputs.gh_head_ref }}
75- echo "::notice::${{ github.event.repository.name }} updated to origin/${{ needs.configure-branch-name.outputs.gh_head_ref }}"
58+ git commit -m "ci: update submodules to origin/${{ github.event.pull_request.base.ref }}" || true
59+ git push origin ${{ github.event.pull_request.base.ref }}
60+ echo "::notice::${{ github.event.repository.name }} updated to origin/${{ github.event.pull_request.base.ref }}"
7661
7762 gh pr create --draft \
7863 --title "${{ github.event.pull_request.title }}" \
You can’t perform that action at this time.
0 commit comments