Skip to content

Commit 0742080

Browse files
test
1 parent 1166aa8 commit 0742080

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/CAdeploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
- main
77
- dev
88
- demo
9+
- git-actions
910
schedule:
1011
- cron: "0 6,18 * * *" # Runs at 6:00 AM and 6:00 PM GMT
1112

infra/scripts/run_create_index_scripts.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ fi
7272
# Check if the user has the Azure AI User role
7373
echo "Checking if user has the Azure AI User role"
7474
role_assignment=$(MSYS_NO_PATHCONV=1 az role assignment list --role 53ca6127-db72-4b80-b1b0-d745d6d5456d --scope $aif_resource_id --assignee $signed_user_id --query "[].roleDefinitionId" -o tsv)
75+
echo "role_assignment: $role_assignment"
76+
echo "aif_resource_id: $aif_resource_id"
77+
echo "signed_user_id: $signed_user_id"
7578
if [ -z "$role_assignment" ]; then
7679
echo "User does not have the Azure AI User role. Assigning the role."
7780
MSYS_NO_PATHCONV=1 az role assignment create --assignee $signed_user_id --role 53ca6127-db72-4b80-b1b0-d745d6d5456d --scope $aif_resource_id --output none

0 commit comments

Comments
 (0)