Skip to content

Commit

Permalink
[Tidy] Reflect renamed Github labels (#582)
Browse files Browse the repository at this point in the history
  • Loading branch information
huong-li-nguyen authored Jul 12, 2024
1 parent de1ab07 commit 4af6ec0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/general-question.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"Package: Vizro-AI :robot:":
"Vizro-AI :robot:":
- changed-files:
- any-glob-to-any-file: ["vizro-ai/**/*"]
2 changes: 1 addition & 1 deletion tools/check_branch_name.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 4af6ec0

Please sign in to comment.