mirror of
https://github.com/apache/nuttx.git
synced 2026-09-10 19:06:35 +00:00
CI: refine checkpatch commits in check.yml
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
This commit is contained in:
parent
cb16dfbc30
commit
0b8fe43a69
1 changed files with 2 additions and 3 deletions
5
.github/workflows/check.yml
vendored
5
.github/workflows/check.yml
vendored
|
|
@ -30,8 +30,7 @@ jobs:
|
|||
- name: Check Pull Request
|
||||
run: |
|
||||
cd nuttx
|
||||
ranges=`git log -1 --merges --pretty=format:%P | awk -F" " '{ print $1 ".." $2 }'`
|
||||
git log --oneline $ranges
|
||||
commits=`git log --reverse --format=format:%H $ranges`
|
||||
commits=`git log -1 --merges --pretty=format:%P | awk -F" " '{ print $1 ".." $2 }'`
|
||||
git log --oneline $commits
|
||||
echo "../nuttx/tools/checkpatch.sh -g $commits"
|
||||
../nuttx/tools/checkpatch.sh -g $commits
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue