Skip to content

Clarify merge commit exemption for signoff check in AGENTS.md and CLAUDE.md - #8194

Merged
delock merged 5 commits into
deepspeedai:masterfrom
jinyouzhi:merge_dco
Jul 30, 2026
Merged

delock merged 5 commits into
deepspeedai:masterfrom
jinyouzhi:merge_dco

Conversation

@jinyouzhi

Copy link
Copy Markdown
Contributor
image

Try to avoid #8187 (comment), please directly close it if not necessary.

@jinyouzhi
jinyouzhi marked this pull request as ready for review July 29, 2026 09:41

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c063f184c2

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread AGENTS.md Outdated
### Commit & CI requirements

- All commits MUST have a `Signed-off-by` line (use `--signoff`). Get the name and email from `git config user.name` / `git config user.email`.
- All non-merge commits MUST have a `Signed-off-by` line (use `--signoff`). Merge commits with `parent_count > 1` are exempt. Get the name and email from `git config user.name` / `git config user.email`.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Add the required signoff trailer

This commit has exactly one parent and the commit message has no Signed-off-by: trailer, so it is a non-merge commit that violates the repository's required signoff policy. Please recommit this change with --signoff or add the matching trailer before merging.

AGENTS.md reference: AGENTS.md:L8-L8

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I saw this commit is signed off:
Signed-off-by: iLeGend <[email protected]>. Did you miss something?

@delock

delock commented Jul 30, 2026

Copy link
Copy Markdown
Collaborator

Hi @jinyouzhi I suggest to remove the parent > 1 part. 'ignore merge commit' is the intent, parent > 1 is method, we should state intent and let agent figure out method.

@jinyouzhi

Copy link
Copy Markdown
Contributor Author

Hi @jinyouzhi I suggest to remove the parent > 1 part. 'ignore merge commit' is the intent, parent > 1 is method, we should state intent and let agent figure out method.

I agree — that’s a great insight. Thanks!

@delock
delock enabled auto-merge July 30, 2026 05:08
@delock
delock added this pull request to the merge queue Jul 30, 2026
Merged via the queue into deepspeedai:master with commit 5cc0617 Jul 30, 2026
13 checks passed
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