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:
33
33
swift : ${{ matrix.swift }}
34
34
os : ${{ matrix.os }}
35
35
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
+
36
44
- name : " Update Mintfile"
37
45
run : |
38
46
swift .github/dependabot-mintfile/MintfileBuilder.swift
39
- git add Mintfile
47
+ make commit file=" Mintfile"
40
48
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"
42
54
env :
43
55
PR_URL : ${{ github.event.pull_request.html_url }}
44
56
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
45
57
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
50
58
git push
51
59
gh pr merge --auto --merge "$PR_URL"
52
60
gh pr review --approve "$PR_URL"
You can’t perform that action at this time.
0 commit comments