Skip to content

Commit ee1bbad

Browse files
authored
docs: add DCO sign-off requirement to AGENTS.md (#45)
Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
1 parent 2bed71a commit ee1bbad

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ The repository enforces semantic PR titles via [.github/workflows/pr-title.yaml]
212212
- Bad: `fix: E2E nightly ...` (capital E fails the regex and blocks the PR immediately).
213213
- The check runs on PR open/edit/synchronize and validates the PR title (and frequently the head commit message).
214214
- Dependabot PRs are automatically exempted by the workflow.
215+
- Always commit with `-s` (`git commit -s` or `git commit --amend -s`) so DCO passes. Never leave unexpanded shell like `$(git config user.name)` in the `Signed-off-by` line.
215216

216217
When creating branches, commits, or PRs, make the first line a valid semantic title so the gate passes on the first attempt. This avoids immediate CI failures and repeated title edits.
217218

0 commit comments

Comments
 (0)