Skip to content

Commit 4627836

Browse files
committed
java import polish 2
1 parent 42ffdf6 commit 4627836

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/app-ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ jobs:
2929
id: set-deploy-env
3030
run: |
3131
echo "checking branch name [${{github.ref_name}}]"
32-
if [[ ${{github.ref_name}} == 'refs/heads/main' ]]; then
32+
if [[ ${{github.ref_name}} == 'main' ]]; then
3333
echo "main branch detected. Set Development environment"
3434
echo "DEPLOY_ENVIRONMENT=Development" >> "$GITHUB_OUTPUT"
35-
elif [[ ${{github.ref_name}} == *'refs/heads/release'* ]]; then
35+
elif [[ ${{github.ref_name}} == *'release'* ]]; then
3636
echo "release branch detected. Set Test environment"
3737
echo "DEPLOY_ENVIRONMENT=Test" >> "$GITHUB_OUTPUT"
38-
elif [[ ${{github.ref_name}} == *'refs/tags/v'* ]]; then
38+
elif [[ ${{github.ref_name}} == *'v'* ]]; then
3939
echo "tag detected. Set Production environment"
4040
echo "DEPLOY_ENVIRONMENT=Production" >> "$GITHUB_OUTPUT"
4141
else

app/backend/src/main/java/com/microsoft/openai/samples/rag/config/AzureAuthenticationConfiguration.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
import org.springframework.context.annotation.Bean;
1010
import org.springframework.context.annotation.Configuration;
1111
import org.springframework.context.annotation.Profile;
12-
import org.springframework.util.StringUtils;
1312

1413
@Configuration
1514
public class AzureAuthenticationConfiguration {

0 commit comments

Comments
 (0)