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..94b26ef 100644 --- a/workflow-parser/testdata/reader/events-mapping-all.yml +++ b/workflow-parser/testdata/reader/events-mapping-all.yml @@ -73,8 +73,10 @@ on: - deleted merge_group: branches: - - master - - main + - master + - main + branches-ignore: + - develop types: - checks_requested milestone: @@ -321,6 +323,9 @@ jobs: "master", "main" ], + "branches-ignore": [ + "develop" + ], "types": [ "checks_requested" ]