Skip to content

Commit

Permalink
Fix encoding of interruptible flag in GitLab YAML (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
hach-que authored Dec 2, 2024
1 parent 33f36dc commit e29bd4d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class GitLabJob
[SuppressMessage("Design", "CA1002:Do not expose generic lists", Justification = "This property is used for YAML serialization.")]
public List<string>? Tags { get; set; } = null;

[YamlMember(Alias = "interruptible", DefaultValuesHandling = DefaultValuesHandling.OmitNull, ScalarStyle = YamlDotNet.Core.ScalarStyle.DoubleQuoted)]
[YamlMember(Alias = "interruptible", DefaultValuesHandling = DefaultValuesHandling.OmitNull, ScalarStyle = YamlDotNet.Core.ScalarStyle.Literal)]
public bool? Interruptible { get; set; } = null;

[YamlMember(Alias = "rules", DefaultValuesHandling = DefaultValuesHandling.OmitNull, ScalarStyle = YamlDotNet.Core.ScalarStyle.DoubleQuoted)]
Expand Down

0 comments on commit e29bd4d

Please sign in to comment.