This is an automated email from the ASF dual-hosted git repository.
protobits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new bef5dc3 CI: Fix check patch to handle renames / deletes
bef5dc3 is described below
commit bef5dc32a753c23cff49ea0f4c7b229eb63c848c
Author: Brennan Ashton <[email protected]>
AuthorDate: Thu Sep 3 14:52:18 2020 -0700
CI: Fix check patch to handle renames / deletes
Signed-off-by: Brennan Ashton <[email protected]>
---
.github/workflows/check.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml
index ac3c144..73434ce 100644
--- a/.github/workflows/check.yml
+++ b/.github/workflows/check.yml
@@ -36,7 +36,7 @@ jobs:
- name: Check Pull Request
run: |
cd apps
- commits=`git log -1 --merges --pretty=format:%P | awk -F" " '{ print
$1 ".." $2 }'`
+ commits="${{ github.event.pull_request.base.sha }}..HEAD"
git log --oneline $commits
echo "../nuttx/tools/checkpatch.sh -g $commits"
../nuttx/tools/checkpatch.sh -g $commits