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:
49
49
fetch-depth : 0
50
50
submodules : ' true'
51
51
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
-
60
52
- name : Perform Edit/Git Operations
61
53
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
-
69
54
git config user.email "devtools@kern.ai"
70
55
git config user.name "GitHub Actions"
71
56
72
57
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 }}"
76
61
77
62
gh pr create --draft \
78
63
--title "${{ github.event.pull_request.title }}" \
You can’t perform that action at this time.
0 commit comments