-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Sergio Castaño Arteaga <[email protected]>
Showing
1 changed file
with
11 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ Signed-off-by: User1 <[email protected]> | |
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 <[email protected]> | ||
I, User1 <[email protected]>, hereby add my Signed-off-by to this commit: COMMIT1_SHA | ||
I, User1 <[email protected]>, hereby add my Signed-off-by to this commit: COMMIT2_SHA | ||
I, User1 <[email protected]>, hereby add my Signed-off-by to this commit: <COMMIT1_SHA> | ||
I, User1 <[email protected]>, hereby add my Signed-off-by to this commit: <COMMIT2_SHA> | ||
Signed-off-by: User1 <[email protected]> | ||
``` | ||
|
||
#### 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 <[email protected]> | ||
On behalf of User1 <[email protected]>, I, user2 <[email protected]>, hereby add my Signed-off-by to this commit: COMMIT1_SHA | ||
On behalf of User1 <[email protected]>, I, user2 <[email protected]>, hereby add my Signed-off-by to this commit: COMMIT2_SHA | ||
On behalf of User1 <[email protected]>, I, user2 <[email protected]>, hereby add my Signed-off-by to this commit: <COMMIT1_SHA> | ||
On behalf of User1 <[email protected]>, I, user2 <[email protected]>, hereby add my Signed-off-by to this commit: <COMMIT2_SHA> | ||
Signed-off-by: User2 <[email protected]> | ||
``` | ||
|