There was an error while loading. Please reload this page.
1 parent 2ac4034 commit eadb53cCopy full SHA for eadb53c
1 file changed
tests/firmware_tests/test_dco_signoff.sh
@@ -26,6 +26,13 @@ _ASSERT_NAME="test_dco_signoff"
26
run() {
27
require_gate "$DCO_CHECK" "build-smith · tools/ci/dco_check.sh (or confirm GitHub DCO app)" || return 0
28
29
+ # GitHub checks out a synthetic merge commit for pull_request events. The DCO
30
+ # range must stop at the contributor-owned PR head, otherwise the unsigned
31
+ # GitHub-generated merge commit is incorrectly treated as contributor work.
32
+ check "PR DCO range ends at the contributor-owned head SHA" \
33
+ grep -Fq 'PYBLE_DCO_RANGE="origin/${{ github.base_ref }}..${{ github.event.pull_request.head.sha }}"' \
34
+ "$REPO_ROOT/.github/workflows/ci.yml"
35
+
36
# Build a throwaway repo with one signed and one unsigned commit.
37
local tmp; tmp="$(mk_tmp)"
38
git init -q "$tmp"
0 commit comments