Skip to content

docs: add DCO sign-off to PR template - #341

Merged
rapids-bot[bot] merged 1 commit into
release/2.2from
ajay/add-dco-pr-description-signoff
Jul 15, 2026
Merged

rapids-bot[bot] merged 1 commit into
release/2.2from
ajay/add-dco-pr-description-signoff

Conversation

@AjayThorve

@AjayThorve AjayThorve commented Jul 15, 2026 •

Copy link
Copy Markdown
Member

Overview

Adds an explicit DCO sign-off field to the pull request template for repositories using the RAPIDS squash auto-merger.

The auto-merger copies the PR description into the generated squash commit. Without a matching Signed-off-by trailer in that description, the generated release commit fails DCO when it is subsequently forward-merged into develop.

The template directs contributors to use the commit identity configured by GitHub, including the GitHub-provided noreply address when email privacy is enabled.

DCO sign-off for the squash commit

Signed-off-by: Ajay Thorve AjayThorve@users.noreply.github.com

Validation

  • git diff --check
  • uv run pre-commit run --files .github/pull_request_template.md
  • Markdown link checking and secret detection passed.
  • I confirmed this PR does not include secrets, credentials, or internal-only data.
  • I certify this contribution under the Developer Certificate of Origin (DCO).

Where should reviewers start?

Review .github/pull_request_template.md and confirm that the sign-off instructions match the identity GitHub assigns to generated squash commits.

Related Issues

This is a process workaround for DCO failures on automated release/2.2 to develop forward merges.

Summary by CodeRabbit

  • Documentation
    • Updated the pull request template with instructions for DCO sign-off on squash commits.
    • Added a required sign-off placeholder and a checklist item to confirm it has been replaced.

Signed-off-by: Ajay Thorve <athorve@nvidia.com>
@copy-pr-bot

copy-pr-bot Bot commented Jul 15, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@coderabbitai

coderabbitai Bot commented Jul 15, 2026 •

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Enterprise

Run ID: 657c8463-0dc2-490f-9d8b-92b578953b17

📥 Commits

Reviewing files that changed from the base of the PR and between 45a1934 and 909c1c9.

📒 Files selected for processing (1)
  • .github/pull_request_template.md
📜 Recent review details
⏰ Context from checks skipped due to timeout. (2)
  • GitHub Check: Pytest and Coverage
  • GitHub Check: Lint and Hooks
🧰 Additional context used
📓 Path-based instructions (1)
{.github/**,ci/**,.pre-commit-config.yaml,pyproject.toml,uv.lock}

⚙️ CodeRabbit configuration file

{.github/**,ci/**,.pre-commit-config.yaml,pyproject.toml,uv.lock}: Review automation and packaging changes for least-privilege permissions, pinned versions where appropriate,
copy-pr-bot pull-request/ branch behavior, reproducible uv/npm setup, secret handling, and consistency with
the documented validation matrix.

Files:

  • .github/pull_request_template.md
🔇 Additional comments (1)
.github/pull_request_template.md (1)

5-17: LGTM!

Also applies to: 27-27


Walkthrough

The pull request template now includes squash-commit DCO sign-off instructions, a required Signed-off-by placeholder, and a checklist item confirming that the placeholder was replaced.

Changes

DCO sign-off workflow

Layer / File(s) Summary
Add DCO sign-off guidance and validation
.github/pull_request_template.md
Adds instructions and a Signed-off-by: FULL NAME <EMAIL> placeholder for squash commits, plus a checklist confirmation that the placeholder was replaced.

Estimated code review effort: 1 (Trivial) | ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title follows Conventional Commits and accurately summarizes the PR's documentation change.
Description check ✅ Passed The description covers Overview, Validation, Reviewer Start, and Related Issues, with the required DCO checklist mostly complete.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ajay/add-dco-pr-description-signoff

Comment @coderabbitai help to get the list of available commands.

@AjayThorve
AjayThorve marked this pull request as ready for review July 15, 2026 19:17
@AjayThorve
AjayThorve requested a review from a team July 15, 2026 19:17
@AjayThorve

Copy link
Copy Markdown
Member Author

/merge

@AjayThorve
AjayThorve requested a review from tanleach July 15, 2026 19:24
@rapids-bot
rapids-bot Bot merged commit 60bf36f into release/2.2 Jul 15, 2026
11 checks passed
@AjayThorve AjayThorve mentioned this pull request Jul 15, 2026
6 tasks done
rapids-bot Bot pushed a commit that referenced this pull request Jul 15, 2026
#### Overview

Clarify that angle brackets around the email address are required syntax in the DCO `Signed-off-by` trailer copied into squash commits.

The existing template showed the canonical form but did not explicitly identify the brackets as syntax. Contributors could therefore remove them while replacing the placeholder and produce a malformed trailer. This update adds an exact valid example and makes preserving the brackets part of the checklist.

#### DCO sign-off for the squash commit

Signed-off-by: Ajay Thorve <athorve@nvidia.com>

#### Validation

- [x] I ran the relevant local checks or explained why they are not applicable.
  - `pre-commit run --files .github/pull_request_template.md` passed all applicable hooks, including Markdown Link Check and Detect secrets.
- [x] I added or updated tests for behavior changes.
  - Not applicable: this PR changes only contributor-facing Markdown and has no runtime behavior.
- [x] I updated documentation for user-facing or contributor-facing changes.
- [x] I confirmed this PR does not include secrets, credentials, or internal-only data.
- [x] I certify this contribution under the Developer Certificate of Origin (DCO) and signed my commits with `git commit -s` or an equivalent sign-off.
- [x] I replaced the DCO sign-off placeholder above with the identity GitHub will use for the squash commit and kept the required angle brackets around the email address.

#### Where should reviewers start?

Review `.github/pull_request_template.md`; it is the only changed file.

#### Related Issues

- Relates to #341



## Summary by CodeRabbit

* **Documentation**
  * Updated pull request sign-off instructions to require angle brackets around email addresses.
  * Clarified the validation checklist for replacing placeholder identity details in squash commits.

Authors:
  - Ajay Thorve (https://github.com/AjayThorve)

Approvers:
  - Kyle Zheng (https://github.com/KyleZheng1284)

URL: #348
@AjayThorve
AjayThorve deleted the ajay/add-dco-pr-description-signoff branch July 22, 2026 22:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants