From 848100aa83143492abd6f005944688d166b0b064 Mon Sep 17 00:00:00 2001 From: Harmanpreet-Microsoft Date: Tue, 29 Jul 2025 15:58:51 +0530 Subject: [PATCH 1/4] Update ci.yml --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 248fce490..a36217ef8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,6 +8,7 @@ on: - demo schedule: - cron: '0 8,20 * * *' # Runs at 8:00 AM and 8:00 PM GMT + workflow_dispatch: permissions: contents: read From 03185e15a10f706d66819338cc1698e8b26f4803 Mon Sep 17 00:00:00 2001 From: Harmanpreet-Microsoft Date: Thu, 21 Aug 2025 17:28:09 +0530 Subject: [PATCH 2/4] Update ci.yml --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a36217ef8..3c8c09b09 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,6 +9,9 @@ on: schedule: - cron: '0 8,20 * * *' # Runs at 8:00 AM and 8:00 PM GMT workflow_dispatch: + pull_request: + branches-ignore: + - '**' permissions: contents: read From 6f2a3290c579bcea67e22895ed24095ff0872344 Mon Sep 17 00:00:00 2001 From: Harmanpreet-Microsoft Date: Thu, 21 Aug 2025 17:31:57 +0530 Subject: [PATCH 3/4] Update run_create_table_script.sh --- scripts/run_create_table_script.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/scripts/run_create_table_script.sh b/scripts/run_create_table_script.sh index 90a20c50e..81910377d 100644 --- a/scripts/run_create_table_script.sh +++ b/scripts/run_create_table_script.sh @@ -3,15 +3,15 @@ echo "started the script" # Variables baseUrl="$1" -keyvaultName="$2" +# keyvaultName="$2" requirementFile="requirements.txt" requirementFileUrl=${baseUrl}"scripts/data_scripts/requirements.txt" -resourceGroup="$3" -serverName="$4" -webAppPrincipalName="$5" -adminAppPrincipalName="$6" -functionAppPrincipalName="$7" -managedIdentityName="$8" +resourceGroup="$2" +serverName="$3" +webAppPrincipalName="$4" +adminAppPrincipalName="$5" +functionAppPrincipalName="$6" +managedIdentityName="$7" echo "Script Started" @@ -31,7 +31,7 @@ curl --output "$requirementFile" "$requirementFileUrl" echo "Download completed" #Replace key vault name -sed -i "s/kv_to-be-replaced/${keyvaultName}/g" "create_postgres_tables.py" +# sed -i "s/kv_to-be-replaced/${keyvaultName}/g" "create_postgres_tables.py" sed -i "s/webAppPrincipalName/${webAppPrincipalName}/g" "create_postgres_tables.py" sed -i "s/adminAppPrincipalName/${adminAppPrincipalName}/g" "create_postgres_tables.py" sed -i "s/managedIdentityName/${managedIdentityName}/g" "create_postgres_tables.py" From 7ca2dfc83231930edc2dff3cdb7917e58ba90ac0 Mon Sep 17 00:00:00 2001 From: Harmanpreet-Microsoft Date: Thu, 21 Aug 2025 17:32:29 +0530 Subject: [PATCH 4/4] Update ci.yml --- .github/workflows/ci.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3c8c09b09..f65ba850f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,10 +8,7 @@ on: - demo schedule: - cron: '0 8,20 * * *' # Runs at 8:00 AM and 8:00 PM GMT - workflow_dispatch: - pull_request: - branches-ignore: - - '**' + permissions: contents: read