Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5ed6ab2f69 | |||
| 470b3d93de |
@@ -208,7 +208,7 @@ static class AutomateFunction
|
|||||||
if (addedList.Count + deletedList.Count + modifiedList.Count > 0)
|
if (addedList.Count + deletedList.Count + modifiedList.Count > 0)
|
||||||
{
|
{
|
||||||
automationContext.MarkRunFailed(
|
automationContext.MarkRunFailed(
|
||||||
$"Run failed due to {addedList.Count} ADDED, {modifiedList.Count} MODIFIED, and {deletedList.Count} DELETED objects compared to the release commit."
|
$"Run failed due to {addedList.Count} ADDED, {modifiedList.Count} MODIFIED, and {deletedList.Count} DELETED objects compared to the release commit ({unchangedCount} objects were unchanged)."
|
||||||
);
|
);
|
||||||
|
|
||||||
addedList.ForEach(
|
addedList.ForEach(
|
||||||
@@ -223,6 +223,11 @@ static class AutomateFunction
|
|||||||
$"MODIFIED object: id( {o.Item1} ), type( {o.Item2} ), changed props:( {o.Item3} )"
|
$"MODIFIED object: id( {o.Item1} ), type( {o.Item2} ), changed props:( {o.Item3} )"
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
automationContext.AttachWarningToObjects(
|
||||||
|
MODIFIED,
|
||||||
|
modifiedList.Select(o => o.Item1).ToList()
|
||||||
|
);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user