Skip to content

Commit

Permalink
Merge pull request #1058 from Norconex/bugfix/branch-check
Browse files Browse the repository at this point in the history
updated branch check if statement
  • Loading branch information
brian-yuen authored Sep 5, 2024
2 parents 26a8360 + ff3986c commit 1769e86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/merge-notification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
run: |
for branch in $(git branch -r | grep -v 'origin/main' | cut -d '/' -f 2-); do
# only test branches that does not contains "snyk, dependabot, 3.x, 2.x, bugfix/unknown-properties in branch name
if [[ $branch != *"snyk"* && $branch != *"dependabot"* && $branch != *".x-branch"* && $branch != *"branch-v3"* ]]; then
if [[ $branch == *"feature/"* || $branch == *"bugfix/"* ]]; then
git checkout -b temp-merge-$branch origin/$branch
Expand Down

0 comments on commit 1769e86

Please sign in to comment.