From 4af6ec032076a9d31e8985e5ea695fbf0b6581b7 Mon Sep 17 00:00:00 2001 From: Li Nguyen <90609403+huong-li-nguyen@users.noreply.github.com> Date: Fri, 12 Jul 2024 15:35:25 +0200 Subject: [PATCH] [Tidy] Reflect renamed Github labels (#582) --- .github/ISSUE_TEMPLATE/bug-report.yml | 2 +- .github/ISSUE_TEMPLATE/feature-request.yml | 2 +- .github/ISSUE_TEMPLATE/general-question.yml | 2 +- .github/labeler.yml | 2 +- tools/check_branch_name.sh | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 45120a46f..c05a0c707 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -1,6 +1,6 @@ name: Bug report description: Something is not working correctly -labels: "Status: Needs triage :mag:, Issue: Bug Report :bug:" +labels: "Needs triage :mag:, Bug Report :bug:" body: - type: markdown diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml index a310531f3..ec145b11f 100644 --- a/.github/ISSUE_TEMPLATE/feature-request.yml +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -1,6 +1,6 @@ name: Feature request description: Suggest an idea for this project -labels: "Status: Needs triage :mag:, Issue: Feature Request :nerd_face:" +labels: "Needs triage :mag:, Feature Request :nerd_face:" body: - type: markdown diff --git a/.github/ISSUE_TEMPLATE/general-question.yml b/.github/ISSUE_TEMPLATE/general-question.yml index 29e6a76ba..3f7baee39 100644 --- a/.github/ISSUE_TEMPLATE/general-question.yml +++ b/.github/ISSUE_TEMPLATE/general-question.yml @@ -1,6 +1,6 @@ name: General question description: General questions around Vizro -labels: "Status: Needs triage :mag:, Issue: General Question :question:" +labels: "Needs triage :mag:, General Question :question:" body: - type: markdown diff --git a/.github/labeler.yml b/.github/labeler.yml index e56592345..88111bc0c 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,3 +1,3 @@ -"Package: Vizro-AI :robot:": +"Vizro-AI :robot:": - changed-files: - any-glob-to-any-file: ["vizro-ai/**/*"] diff --git a/tools/check_branch_name.sh b/tools/check_branch_name.sh index 33ff6bcec..561b34d29 100755 --- a/tools/check_branch_name.sh +++ b/tools/check_branch_name.sh @@ -2,7 +2,7 @@ BRANCH_LOCAL=$(git symbolic-ref --short HEAD) BRANCH_CI=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}} -REGEX="^(main|(release|feat|bug|docs|qa|dev|demo|ci|tidy|dependabot)\/[^/]+(/[^/]+)*)$" +REGEX="^(main|(release|feat|bug|docs|qa|dev|demo|ci|tidy|dependabot|poc)\/[^/]+(/[^/]+)*)$" if ! [[ $BRANCH_LOCAL =~ $REGEX ]] && [[ $BRANCH_CI =~ $REGEX ]]; then echo "Branch name is invalid - please rename your branch following this regex syntax: $REGEX"