Skip to content

Commit 6eef06e

Browse files
dmcgowanestesp
authored andcommitted
Fix DCO commit limit
Signed-off-by: Derek McGowan <[email protected]>
1 parent e5afa33 commit 6eef06e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
uses: actions/checkout@v2
8282
with:
8383
path: src/github.com/containerd/containerd
84-
fetch-depth: 25
84+
fetch-depth: 100
8585

8686
- name: Checkout project repo
8787
uses: actions/checkout@v2
@@ -114,7 +114,7 @@ jobs:
114114
if [ -z "${GITHUB_COMMIT_URL}" ]; then
115115
DCO_RANGE=$(jq -r '.after + "..HEAD"' ${GITHUB_EVENT_PATH})
116116
else
117-
DCO_RANGE=$(curl ${GITHUB_COMMIT_URL} | jq -r '.[0].parents[0].sha +".."+ .[-1].sha')
117+
DCO_RANGE=$(curl ${GITHUB_COMMIT_URL} | jq -r '.[0].parents[0].sha + "..HEAD"')
118118
fi
119119
../project/script/validate/dco
120120

0 commit comments

Comments
 (0)