Skip to content

Commit 8145802

Browse files
committed
CI(lint) modify
1 parent 6b79177 commit 8145802

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/lint.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ jobs:
2020
steps:
2121
- name: Checkout
2222
uses: actions/checkout@v4
23-
with:
24-
fetch-depth: 0
2523

2624
- name: Setup Git
2725
run: |
@@ -99,10 +97,10 @@ jobs:
9997

10098
- name: Create PullRequest
10199
run: |
102-
git branch -f lint
103-
git switch lint
100+
git branch -f lint/${{ github.sha }}
101+
git switch lint/${{ github.sha }}
104102
git add .
105-
git commit -m "lint:${{ github.ref }}"
106-
git push -f origin lint
107-
gh pr create --fill -B main -H lint
103+
git commit -m "lint:${{ github.sha }}"
104+
git push -f origin lint/${{ github.sha }}
105+
gh pr create --fill-verbose -t lint:${{ github.ref }} -B main -H lint/${{ github.sha }} -
108106
continue-on-error: true

0 commit comments

Comments
 (0)