diff --git a/.github/actions/run-publish-vr-screenshot/action.yml b/.github/actions/run-publish-vr-screenshot/action.yml index b2832804b4a896..259b2c37dc5dc9 100644 --- a/.github/actions/run-publish-vr-screenshot/action.yml +++ b/.github/actions/run-publish-vr-screenshot/action.yml @@ -84,27 +84,28 @@ runs: - name: VR App - Create Policy if: ${{ env.isPR == 'true' }} + shell: bash run: | set -exuo pipefail npx vr-approval-cli@0.4.11 create-policy --nonBlockingPipelines '{"${{ env.pipelineId }}":{"pipelineStatus": "PENDING","pipelineName": "${{ env.pipelineName }}"}}' --clientType 'FLUENTUI' env: - VR_APP_API_URL: ${{ secrets.VR_APP_API_URL }} - TENANT_ID: ${{ secrets.TenantId }} - PRINCIPAL_CLIENT_ID: ${{ secrets.PrincipalClientId }} - SERVICE_CONNECTION_ID: ${{ secrets.ServiceConnectionId }} + # VR_APP_API_URL: ${{ secrets.VR_APP_API_URL }} + # TENANT_ID: ${{ secrets.TenantId }} + # PRINCIPAL_CLIENT_ID: ${{ secrets.PrincipalClientId }} + # SERVICE_CONNECTION_ID: ${{ secrets.ServiceConnectionId }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Run fluentui-screenshotdiff if: ${{ env.isPR == 'true' && env.vrTestSkip == 'no' }} uses: azure/cli@v2 env: - API_TOKEN: ${{ secrets.fabric-public-pipeline-access-PAT }} - GITHUB_API_TOKEN: ${{ secrets.githubRepoStatusPAT }} - VR_APP_API_URL: ${{ secrets.VR_APP_API_URL }} - STORAGE_ACCOUNT_ID: ${{ secrets.StorageAccountId }} - TENANT_ID: ${{ secrets.TenantId }} - PRINCIPAL_CLIENT_ID: ${{ secrets.PrincipalClientId }} - SERVICE_CONNECTION_ID: ${{ secrets.ServiceConnectionId }} + # API_TOKEN: ${{ secrets.fabric-public-pipeline-access-PAT }} + # GITHUB_API_TOKEN: ${{ secrets.githubRepoStatusPAT }} + # VR_APP_API_URL: ${{ secrets.VR_APP_API_URL }} + # STORAGE_ACCOUNT_ID: ${{ secrets.StorageAccountId }} + # TENANT_ID: ${{ secrets.TenantId }} + # PRINCIPAL_CLIENT_ID: ${{ secrets.PrincipalClientId }} + # SERVICE_CONNECTION_ID: ${{ secrets.ServiceConnectionId }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: azcliversion: latest