We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5afa33 commit 6eef06eCopy full SHA for 6eef06e
1 file changed
.github/workflows/ci.yml
@@ -81,7 +81,7 @@ jobs:
81
uses: actions/checkout@v2
82
with:
83
path: src/github.com/containerd/containerd
84
- fetch-depth: 25
+ fetch-depth: 100
85
86
- name: Checkout project repo
87
@@ -114,7 +114,7 @@ jobs:
114
if [ -z "${GITHUB_COMMIT_URL}" ]; then
115
DCO_RANGE=$(jq -r '.after + "..HEAD"' ${GITHUB_EVENT_PATH})
116
else
117
- DCO_RANGE=$(curl ${GITHUB_COMMIT_URL} | jq -r '.[0].parents[0].sha +".."+ .[-1].sha')
+ DCO_RANGE=$(curl ${GITHUB_COMMIT_URL} | jq -r '.[0].parents[0].sha + "..HEAD"')
118
fi
119
../project/script/validate/dco
120
0 commit comments