From f9169999f860df21040189ab951bb3d499615be8 Mon Sep 17 00:00:00 2001 From: vibhutikumar <160819926+vibhutikumar07@users.noreply.github.com> Date: Wed, 6 May 2026 12:30:15 +0530 Subject: [PATCH 1/2] gave read permission to workflow so taht it can clone the private repo --- .github/workflows/cfdeploy.yml | 1 + .../singleTenant_deploy_and_Integration_test_LatestVersion.yml | 1 + .github/workflows/singleTenant_integration_test.yml | 3 +++ 3 files changed, 5 insertions(+) diff --git a/.github/workflows/cfdeploy.yml b/.github/workflows/cfdeploy.yml index 43e73471f..d15aedadc 100644 --- a/.github/workflows/cfdeploy.yml +++ b/.github/workflows/cfdeploy.yml @@ -26,6 +26,7 @@ on: default: '' permissions: + contents: read pull-requests: read packages: read # Added permission to read packages diff --git a/.github/workflows/singleTenant_deploy_and_Integration_test_LatestVersion.yml b/.github/workflows/singleTenant_deploy_and_Integration_test_LatestVersion.yml index 098537141..1c606ef18 100644 --- a/.github/workflows/singleTenant_deploy_and_Integration_test_LatestVersion.yml +++ b/.github/workflows/singleTenant_deploy_and_Integration_test_LatestVersion.yml @@ -10,6 +10,7 @@ on: workflow_dispatch: permissions: + contents: read pull-requests: read packages: read # Added permission to read packages diff --git a/.github/workflows/singleTenant_integration_test.yml b/.github/workflows/singleTenant_integration_test.yml index 1c1edf42b..b52978e8a 100644 --- a/.github/workflows/singleTenant_integration_test.yml +++ b/.github/workflows/singleTenant_integration_test.yml @@ -11,6 +11,9 @@ on: description: 'Specify the branch to use for integration tests' required: true +permissions: + contents: read + jobs: integration-test: runs-on: ubuntu-latest From 3d235d53b593bca2e3d91febe9ce62382bc47922 Mon Sep 17 00:00:00 2001 From: vibhutikumar <160819926+vibhutikumar07@users.noreply.github.com> Date: Wed, 6 May 2026 12:43:51 +0530 Subject: [PATCH 2/2] Update singleTenant_integration_test.yml --- .github/workflows/singleTenant_integration_test.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/singleTenant_integration_test.yml b/.github/workflows/singleTenant_integration_test.yml index b52978e8a..789747145 100644 --- a/.github/workflows/singleTenant_integration_test.yml +++ b/.github/workflows/singleTenant_integration_test.yml @@ -11,9 +11,6 @@ on: description: 'Specify the branch to use for integration tests' required: true -permissions: - contents: read - jobs: integration-test: runs-on: ubuntu-latest @@ -153,4 +150,4 @@ jobs: noSDMRoleUserPassword=$noSDMRoleUserPassword EOL echo "🎯 Running Maven integration tests for ${{ matrix.tokenFlow }} - ${{ matrix.testClass }}..." - mvn clean verify -P integration-tests -DtokenFlow=${{ matrix.tokenFlow }} -DtenancyModel=single -DskipUnitTests -Dfailsafe.includes="**/${{ matrix.testClass }}.java" \ No newline at end of file + mvn clean verify -P integration-tests -DtokenFlow=${{ matrix.tokenFlow }} -DtenancyModel=single -DskipUnitTests -Dfailsafe.includes="**/${{ matrix.testClass }}.java"