check.yml: Reduce differences from apps
This commit is contained in:
parent
e521ddb3dc
commit
b6bfe04102
1 changed files with 3 additions and 2 deletions
5
.github/workflows/check.yml
vendored
5
.github/workflows/check.yml
vendored
|
|
@ -23,6 +23,7 @@ jobs:
|
|||
- name: Checkout nuttx repo
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
repository: apache/incubator-nuttx
|
||||
path: nuttx
|
||||
fetch-depth: 0
|
||||
|
||||
|
|
@ -32,5 +33,5 @@ jobs:
|
|||
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`
|
||||
echo "./tools/checkpatch.sh -g $commits"
|
||||
./tools/checkpatch.sh -g $commits
|
||||
echo "../nuttx/tools/checkpatch.sh -g $commits"
|
||||
../nuttx/tools/checkpatch.sh -g $commits
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue