diff --git a/README.md b/README.md index fa4e7d8..0795dfe 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Signed-off-by: User1 Git includes a `-s` command line option to append this line automatically to your commit message (provided you have configured your `user.name` and `user.email` in your git configuration): ```text -git commit -s -m 'This is my commit message' +git commit -s -m 'Commit message' ``` Once installed, this application will create a check indicating whether or not all commits in a Pull Request contain a valid `Signed-off-by` line. @@ -69,25 +69,28 @@ Individual remediation commits **must** be authored by the same person who autho An individual remediation commit to add a sign-off to two commits created by `User1` would look like this: ```text -Sample individual remediation commit +DCO remediation commit for User1 -I, User1 , hereby add my Signed-off-by to this commit: COMMIT1_SHA -I, User1 , hereby add my Signed-off-by to this commit: COMMIT2_SHA +I, User1 , hereby add my Signed-off-by to this commit: +I, User1 , hereby add my Signed-off-by to this commit: Signed-off-by: User1 ``` #### Third-party -Third-party remediation commits **must** be authored by someone else on behalf of the failing commit's author. +Third-party remediation commits **must** be authored by an authorized individual on behalf of the failing commit's author. + +> [!IMPORTANT] +> If you are about to add a third-party DCO remediation commit under DCO section (b) or (c), be sure you are authorized by your employer to take this action. Generally speaking, maintainers and other project contributors cannot sign off on behalf of project contributors, unless there is some relationship which permits this action. It is your responsibility to verify this. A third-party remediation commit to add a sign-off to two commits created by `User1` would look like this: ```text -Sample third-party remediation commit +Third-party DCO remediation commit for User1 -On behalf of User1 , I, user2 , hereby add my Signed-off-by to this commit: COMMIT1_SHA -On behalf of User1 , I, user2 , hereby add my Signed-off-by to this commit: COMMIT2_SHA +On behalf of User1 , I, user2 , hereby add my Signed-off-by to this commit: +On behalf of User1 , I, user2 , hereby add my Signed-off-by to this commit: Signed-off-by: User2 ```