Unverified Commit 2d4cc511 authored by Jonas Bulik's avatar Jonas Bulik
Browse files

allow null in PipelineProjectAttrs.ci_config_path


Signed-off-by: default avatarJonas Bulik <jonas@bulik.dev>
parent d390ddfb
# v0.1305.1 (unreleased)
## Changes
* Changed `ci_config_path` to `Option<String>` in `gitlab::webhooks::PipelineHookAttrs`
# v0.1305.0
## Additions
- Added `head_pipeline_id` field to `gitlab::webhooks::MergeRequestHookAttrs`
* Added `head_pipeline_id` field to `gitlab::webhooks::MergeRequestHookAttrs`
# v0.1304.0
......
......@@ -49,7 +49,7 @@
"visibility_level": 0,
"path_with_namespace": "mr.example/webhook-testing",
"default_branch": "master",
"ci_config_path": ""
"ci_config_path": null
},
"commit": {
"id": "17dd664bfcda26cd14c5ecad518c16c7ef62b618",
......
......@@ -792,7 +792,8 @@ pub struct PipelineProjectAttrs {
pub path_with_namespace: String,
/// The default branch for the project.
pub default_branch: Option<String>,
pub ci_config_path: String,
/// The path to the ci config file.
pub ci_config_path: Option<String>,
}
#[derive(Serialize, Deserialize, Debug, Clone)]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment