From e76db075426c2c44aec4ebe8de1c096c035bab01 Mon Sep 17 00:00:00 2001 From: Matthew Grossman Date: Tue, 21 Jul 2026 13:51:58 -0700 Subject: [PATCH] fix(dco): Fix mismatched wording that breaks initial DCO checks Signed-off-by: Matthew Grossman --- .github/workflows/dco.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dco.yml b/.github/workflows/dco.yml index 53339f4bf9..1bb69a15d9 100644 --- a/.github/workflows/dco.yml +++ b/.github/workflows/dco.yml @@ -6,6 +6,9 @@ on: pull_request_target: types: [opened, closed, synchronize] +env: + DCO_SIGN_COMMENT: "I have read the DCO document and I hereby sign the DCO." + permissions: actions: write checks: none @@ -29,7 +32,7 @@ jobs: - name: "DCO Assistant" if: | (github.event.comment.body == 'recheck' || - github.event.comment.body == 'I have read the Contributor Agreement including DCO and I hereby sign the Contributor Agreement and DCO') || + github.event.comment.body == env.DCO_SIGN_COMMENT) || github.event_name == 'pull_request_target' uses: contributor-assistant/github-action@ca4a40a7d1004f18d9960b404b97e5f30a505a08 env: @@ -46,6 +49,6 @@ jobs: [Developer Certificate of Origin](https://github.com/NVIDIA/OpenShell/blob/main/DCO) before we can accept your contribution. You can sign the DCO by adding a comment below using this text: - custom-pr-sign-comment: "I have read the DCO document and I hereby sign the DCO." + custom-pr-sign-comment: ${{ env.DCO_SIGN_COMMENT }} lock-pullrequest-aftermerge: false use-dco-flag: true