From bf970528551d8648504a6a3864d5af7d256c9202 Mon Sep 17 00:00:00 2001 From: Liela Rotschy Date: Wed, 19 Apr 2023 12:29:38 -0600 Subject: [PATCH] Add branches-ignore to merge group schema --- workflow-parser/src/workflow-v1.0.json | 3 ++- workflow-parser/testdata/reader/events-mapping-all.yml | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/workflow-parser/src/workflow-v1.0.json b/workflow-parser/src/workflow-v1.0.json index 4587263..f990beb 100644 --- a/workflow-parser/src/workflow-v1.0.json +++ b/workflow-parser/src/workflow-v1.0.json @@ -577,7 +577,8 @@ "mapping": { "properties": { "types": "merge-group-activity", - "branches": "event-branches" + "branches": "event-branches", + "branches-ignore": "event-branches-ignore" } } }, diff --git a/workflow-parser/testdata/reader/events-mapping-all.yml b/workflow-parser/testdata/reader/events-mapping-all.yml index 900a1f9..cea7f8e 100644 --- a/workflow-parser/testdata/reader/events-mapping-all.yml +++ b/workflow-parser/testdata/reader/events-mapping-all.yml @@ -77,6 +77,8 @@ on: - main types: - checks_requested + branches_ignore: + - develop milestone: types: - created @@ -323,6 +325,9 @@ jobs: ], "types": [ "checks_requested" + ], + "branches_ignore": [ + "develop" ] }, "milestone": {