From a519bfcbf7e25b4c30793bf51ec93f33f5ae64c1 Mon Sep 17 00:00:00 2001 From: Rob Earlam Date: Mon, 25 Nov 2024 07:12:53 +1100 Subject: [PATCH] Removed push account check, handled by settings instead --- .github/workflows/CI-CD_MVP.yml | 1 - .github/workflows/CI-CD_SUGCON_24.yml | 1 - .github/workflows/CI-CD_SUGCON_24_STORYBOOK.yml | 1 - .github/workflows/CI-CD_XM_Cloud.yml | 1 - 4 files changed, 4 deletions(-) diff --git a/.github/workflows/CI-CD_MVP.yml b/.github/workflows/CI-CD_MVP.yml index f5f1add7..28ffbfc4 100644 --- a/.github/workflows/CI-CD_MVP.yml +++ b/.github/workflows/CI-CD_MVP.yml @@ -27,7 +27,6 @@ jobs: deploy-mvp-staging: uses: ./.github/workflows/deploy_azureWebapp.yml needs: build-dotnet - if: github.repository_owner == 'Sitecore' && ((github.event.pull_request.head.repo.full_name == github.repository) || (github.event_name == 'push') || (github.event_name == 'workflow_dispatch')) with: buildConfiguration: Debug projectLocation: headapps/MvpSite/MvpSite.Rendering diff --git a/.github/workflows/CI-CD_SUGCON_24.yml b/.github/workflows/CI-CD_SUGCON_24.yml index 748a51a7..5edff3e1 100644 --- a/.github/workflows/CI-CD_SUGCON_24.yml +++ b/.github/workflows/CI-CD_SUGCON_24.yml @@ -28,7 +28,6 @@ jobs: uses: ./.github/workflows/deploy_vercel.yml needs: build-sugcon24-site if: always() && - (github.repository_owner == 'Sitecore' && ((github.event.pull_request.head.repo.full_name == github.repository) || (github.event_name == 'push'))) && needs.build-sugcon24-site.result != 'failure' && needs.build-sugcon24-site.result != 'cancelled' secrets: diff --git a/.github/workflows/CI-CD_SUGCON_24_STORYBOOK.yml b/.github/workflows/CI-CD_SUGCON_24_STORYBOOK.yml index c1f82f1e..e1526fcb 100644 --- a/.github/workflows/CI-CD_SUGCON_24_STORYBOOK.yml +++ b/.github/workflows/CI-CD_SUGCON_24_STORYBOOK.yml @@ -28,7 +28,6 @@ jobs: uses: ./.github/workflows/deploy_vercel.yml needs: build-sugcon24-storybook if: always() && - (github.repository_owner == 'Sitecore' && ((github.event.pull_request.head.repo.full_name == github.repository) || (github.event_name == 'push'))) && needs.build-sugcon24-storybook.result != 'failure' && needs.build-sugcon24-storybook.result != 'cancelled' secrets: diff --git a/.github/workflows/CI-CD_XM_Cloud.yml b/.github/workflows/CI-CD_XM_Cloud.yml index 0c708030..d23f7815 100644 --- a/.github/workflows/CI-CD_XM_Cloud.yml +++ b/.github/workflows/CI-CD_XM_Cloud.yml @@ -30,7 +30,6 @@ jobs: deploy-staging: uses: ./.github/workflows/deploy_xmCloud.yml - if: github.repository_owner == 'Sitecore' && ((github.event.pull_request.head.repo.full_name == github.repository) || (github.event_name == 'push')) needs: build-dotnet with: environmentName: Staging