From e7bcf5509626d321b2f2028b293da5bdbaf24c28 Mon Sep 17 00:00:00 2001 From: Jakub Jezek Date: Wed, 29 Mar 2023 15:23:13 +0200 Subject: [PATCH] yaml is not supporting spaces in keys --- .github/pr-branch-labeler.yml | 8 +++--- .github/pr-glob-labeler.yml | 54 +++++++++++++++++++++++------------ 2 files changed, 39 insertions(+), 23 deletions(-) diff --git a/.github/pr-branch-labeler.yml b/.github/pr-branch-labeler.yml index bf4045442a..58bcbcb72a 100644 --- a/.github/pr-branch-labeler.yml +++ b/.github/pr-branch-labeler.yml @@ -1,15 +1,15 @@ # Apply label "feature" if head matches "feature/*" -type: feature: +'type: feature': head: "feature/*" # Apply label "feature" if head matches "feature/*" -type: enhancement: +'type: enhancement': head: "enhancement/*" # Apply label "bugfix" if head matches one of "bugfix/*" or "hotfix/*" -type: bugfix: +'type: bugfix': head: ["bugfix/*", "hotfix/*"] # Apply label "release" if base matches "release/*" -Bump Minor: +'Bump Minor': base: "release/next-minor" \ No newline at end of file diff --git a/.github/pr-glob-labeler.yml b/.github/pr-glob-labeler.yml index 6a71b1616a..0c1164f659 100644 --- a/.github/pr-glob-labeler.yml +++ b/.github/pr-glob-labeler.yml @@ -1,43 +1,59 @@ # Add type: unittest label if any changes in tests folders -type: unittest: +'type: unittest': - any: ['tests/**/*', 'openpype/tests/**/*'] # any changes in documentation structure -type: documentation: +'type: documentation': - any: ['website/**/*', 'docs/**/*'] # hosts triage -host: Nuke: +'host: Nuke': - openpype/hosts/nuke/**/* -host: Photoshop: + +'host: Photoshop': - openpype/hosts/photoshop/**/* -host: Harmony: + +'host: Harmony': - openpype/hosts/harmony/**/* -host: UE: + +'host: UE': - openpype/hosts/unreal/**/* -host: Houdini: + +'host: Houdini': - openpype/hosts/houdini/**/* -host: Maya: + +'host: Maya': - openpype/hosts/maya/**/* -host: Resolve: + +'host: Resolve': - openpype/hosts/resolve/**/* -host: Blender: + +'host: Blender': - openpype/hosts/blender/**/* -host: Hiero: + +'host: Hiero': - openpype/hosts/hiero/**/* -host: Fusion: + +'host: Fusion': - openpype/hosts/fusion/**/* -host: Flame: + +'host: Flame': - openpype/hosts/flame/**/* -host: TrayPublisher: + +'host: TrayPublisher': - openpype/hosts/traypublisher/**/* -host: 3dsmax: + +'host: 3dsmax': - openpype/hosts/max/**/* -host: TV Paint: + +'host: TV Paint': - openpype/hosts/tvpaint/**/* -host: CelAction: + +'host: CelAction': - openpype/hosts/celaction/**/* -host: After Effects: + +'host: After Effects': - openpype/hosts/aftereffects/**/* -host: Substance Painter: + +'host: Substance Painter': - openpype/hosts/substancepainter/**/*