Skip to content

Commit d702370

Browse files
authored
ci: remove the DCO Assistant workflow (#5805)
The ai-openshell organization enforces sign-off on every repository with the DCO app, which checks each commit for a Signed-off-by trailer. Remove the contributor-assistant workflow that duplicated it with a one-time PR comment signature, and update CONTRIBUTING.md and CI.md to describe the per-commit check. The DCO file stays. Refs #4554 Signed-off-by: Simon Scatton <sscatton@nvidia.com>
1 parent 9c3c92f commit d702370

4 files changed

Lines changed: 3 additions & 58 deletions

File tree

‎.github/workflows/dco.yml‎

Lines changed: 0 additions & 54 deletions
This file was deleted.

‎.github/zizmor.yml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ rules:
66
ignore:
77
# These base-branch workflows never check out or execute pull request
88
# head code. Keep each suppression scoped to its reviewed trigger block.
9-
- dco.yml:3
109
- maintainers-change-alert.yml:6
1110
- pr-issue-acceptance.yml:6
1211
- release-canary.yml:3

‎CI.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ operating-system CVEs remain the responsibility of the standalone scan.
624624

625625
Org members and collaborators sign their commits cryptographically.
626626

627-
DCO sign-off (`-s` / `Signed-off-by`) is a separate requirement and does not count as commit signing. Dependabot-authored dependency update PRs are allowlisted in DCO Assistant because the bot cannot sign commits.
627+
DCO sign-off (`-s` / `Signed-off-by`) is a separate requirement and does not count as commit signing.
628628

629629
### One-time setup with an SSH key
630630

‎CONTRIBUTING.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ chore(deps): bump tokio to 1.40
560560

561561
### DCO
562562

563-
All human contributions must include a `Signed-off-by` line in each commit message. This certifies you have the right to submit the work under the project license. Dependabot-authored dependency update PRs are allowlisted because the bot cannot sign commits.
563+
All human contributions must include a `Signed-off-by` line in each commit message. This certifies you have the right to submit the work under the project license. The DCO check fails a PR if any of its commits lacks the trailer; add it with `git rebase --signoff` and force-push.
564564

565565
The project uses version 1.1 of the [Developer Certificate of Origin](https://developercertificate.org/):
566566

@@ -607,7 +607,7 @@ git commit --signoff --message "feat(sandbox): add new capability"
607607

608608
DCO sign-off is separate from cryptographic commit signing, and the two have different requirements:
609609

610-
- **DCO sign-off** (`--signoff`) adds the `Signed-off-by` trailer to each commit. It applies to every contributor. The DCO Assistant bot also asks you to sign the DCO once, by commenting on your PR.
610+
- **DCO sign-off** (`--signoff`) adds the `Signed-off-by` trailer to each commit. It applies to every contributor and every commit.
611611
- **Cryptographic commit signing** applies to org members and collaborators only; see [CI.md](CI.md#commit-signing) for setup.
612612

613613
### PR testing checklist

0 commit comments

Comments
 (0)