mirror of
https://github.com/element-hq/element-android
synced 2024-11-27 11:59:12 +03:00
Make it easier to find developer sign-off instructions (#6739)
* Make it easier to find sign-off instructions by linking directly to DCO docs from danger message.
This commit is contained in:
parent
e26d87c73d
commit
09a91c4541
2 changed files with 2 additions and 1 deletions
1
changelog.d/6739.misc
Normal file
1
changelog.d/6739.misc
Normal file
|
@ -0,0 +1 @@
|
|||
Link directly to DCO docs from danger message.
|
|
@ -83,7 +83,7 @@ if (requiresSignOff) {
|
|||
const hasPRBodySignOff = pr.body.includes(signOff)
|
||||
const hasCommitSignOff = danger.git.commits.every(commit => commit.message.includes(signOff))
|
||||
if (!hasPRBodySignOff && !hasCommitSignOff) {
|
||||
fail("Please add a sign-off to either the PR description or to the commits themselves.")
|
||||
fail("Please add a sign-off to either the PR description or to the commits themselves. See instructions [here](https://matrix-org.github.io/synapse/latest/development/contributing_guide.html#sign-off).")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue