File tree Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -33,20 +33,28 @@ jobs:
3333 swift : ${{ matrix.swift }}
3434 os : ${{ matrix.os }}
3535
36+ - name : " gh pr checkout and git config"
37+ env :
38+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
39+ run : |
40+ gh pr checkout ${{ github.event.pull_request.number }}
41+ git config user.name "${GITHUB_ACTOR}"
42+ git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
43+
3644 - name : " Update Mintfile"
3745 run : |
3846 swift .github/dependabot-mintfile/MintfileBuilder.swift
39- git add Mintfile
47+ make commit file=" Mintfile"
4048
41- - name : " Sync code base"
49+ - name : " Update Sources"
50+ run : |
51+ make -j 3 install
52+
53+ - name : " git push, gh pr auto merge"
4254 env :
4355 PR_URL : ${{ github.event.pull_request.html_url }}
4456 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4557 run : |
46- gh pr checkout ${{ github.event.pull_request.number }}
47- git config user.name "${GITHUB_ACTOR}"
48- git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
49- make -j 3 install
5058 git push
5159 gh pr merge --auto --merge "$PR_URL"
5260 gh pr review --approve "$PR_URL"
You can’t perform that action at this time.
0 commit comments