From 0e587ad2d61e2b6409ac89f5013fed4af0d98af0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiana=20=F0=9F=9A=80=20=20Campanari?= Date: Wed, 16 Oct 2024 12:25:46 -0300 Subject: [PATCH] Delete .github/workflows/sync.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fabiana 🚀 Campanari --- .github/workflows/sync.yml | 42 -------------------------------------- 1 file changed, 42 deletions(-) delete mode 100644 .github/workflows/sync.yml diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml deleted file mode 100644 index 1124dda2..00000000 --- a/.github/workflows/sync.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: Synapse Workspace Sync (Synapse Workspace Sync Automation) - -on: - workflow_dispatch: - inputs: - environment: - type: environment - default: synapse-preprod - -permissions: - id-token: write - repository-projects: write - contents: write - statuses: write - deployments: write - actions: write - -jobs: - sync: - runs-on: ubuntu-latest - environment: ${{ inputs.environment }} - steps: - - name: Checkout OEA Repository - uses: actions/checkout@v4 - - name: OIDC Login to Azure Public Cloud with AzPowershell (enableAzPSSession true) - uses: azure/login@v2 - with: - client-id: ${{ secrets.AZURE_CLIENT_ID }} - tenant-id: ${{ secrets.AZURE_TENANT_ID }} - subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }} - enable-AzPSSession: true - - run: | - git checkout -b ${{ vars.SYNC_BRANCH_NAME }} - - shell: pwsh - run: | - .github/workflows/scripts/synapse/sync.ps1 ${{ vars.WORKSPACE_NAME }} ${{ vars.RESOURCE_GROUP }} - - run: | - git config --global user.name ${{ github.actor }} - git config --global user.email github-actions[bot]@.noreply.github.com - git commit -am "Syncing with ${{ inputs.environment }}." - git push --set-upstream origin ${{ vars.SYNC_BRANCH_NAME }} -