Add co-authored-by
field to commit metadata
This field is used by GitHub to credit co-authors. type: development co-authored-by: y7y <pair@rodarmor.com>
This commit is contained in:
parent
e7872f56f2
commit
f4f7a69069
|
@ -8,6 +8,8 @@ pub(crate) struct Metadata {
|
|||
pub(crate) pr: Option<Url>,
|
||||
#[serde(default)]
|
||||
pub(crate) fixes: Vec<Url>,
|
||||
#[serde(default, rename = "co-authored-by")]
|
||||
pub(crate) co_authored_by: Option<String>,
|
||||
}
|
||||
|
||||
impl Metadata {
|
||||
|
@ -41,6 +43,7 @@ impl Default for Metadata {
|
|||
kind: Kind::Changed,
|
||||
pr: None,
|
||||
fixes: Vec::new(),
|
||||
co_authored_by: None,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user