mirror of
https://github.com/TeamPiped/Piped-Kubernetes.git
synced 2025-04-27 07:10:33 +05:30
fix(ci): Enable explicit start in YAML configuration for release notes
This commit is contained in:
parent
afbfd2417f
commit
d41df169d6
3
.github/scripts/renovate-releasenotes.py
vendored
3
.github/scripts/renovate-releasenotes.py
vendored
@ -112,7 +112,7 @@ def main(
|
|||||||
|
|
||||||
yaml = YAML(typ=['rt', 'string'])
|
yaml = YAML(typ=['rt', 'string'])
|
||||||
yaml.indent(mapping=2, sequence=4, offset=2)
|
yaml.indent(mapping=2, sequence=4, offset=2)
|
||||||
yaml.explicit_start = False
|
yaml.explicit_start = True
|
||||||
yaml.preserve_quotes = True
|
yaml.preserve_quotes = True
|
||||||
yaml.width = 4096
|
yaml.width = 4096
|
||||||
|
|
||||||
@ -191,6 +191,7 @@ def main(
|
|||||||
|
|
||||||
if annotations:
|
if annotations:
|
||||||
annotations_stream = io.StringIO()
|
annotations_stream = io.StringIO()
|
||||||
|
yaml.explicit_start = False
|
||||||
yaml.dump(annotations, annotations_stream)
|
yaml.dump(annotations, annotations_stream)
|
||||||
|
|
||||||
annotations_string = annotations_stream.getvalue()
|
annotations_string = annotations_stream.getvalue()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user