File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 2020 steps :
2121 - name : Checkout
2222 uses : actions/checkout@v4
23- with :
24- fetch-depth : 0
2523
2624 - name : Setup Git
2725 run : |
6664 thread-comments : update
6765 continue-on-error : true
6866
69- - name : ESLint (+vue +prettier)
67+ - name : ESLint (+vue +prettier +ts )
7068 run : yarn run eslint --fix --ignore-pattern .gitignore
7169 continue-on-error : true
7270
@@ -98,11 +96,13 @@ jobs:
9896 continue-on-error : true
9997
10098 - name : Create PullRequest
99+ env :
100+ lint_branch : lint/${{ github.sha }}
101101 run : |
102- git branch -f lint
103- git switch lint
102+ git branch -f $lint_branch
103+ git switch $lint_branch
104104 git add .
105- git commit -m "lint:${{ github.ref }}"
106- git push -f origin lint
107- gh pr create --fill - B main -H lint
105+ git commit -m "lint:${{ github.sha }}"
106+ git push -f origin $lint_branch
107+ gh pr create --fill-verbose -t lint:${{ github.ref }} - B main -H $lint_branch -
108108 continue-on-error : true
You can’t perform that action at this time.
0 commit comments