diff --git a/.github/workflows/evaluate.yml b/.github/workflows/evaluate.yml index b27729b1..0cdab698 100644 --- a/.github/workflows/evaluate.yml +++ b/.github/workflows/evaluate.yml @@ -72,27 +72,6 @@ jobs: env: AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - - name: Azure login - uses: azure/login@v2 - with: - client-id: ${{ env.AZURE_CLIENT_ID }} - tenant-id: ${{ env.AZURE_TENANT_ID }} - subscription-id: ${{ env.AZURE_SUBSCRIPTION_ID }} - - - name: Set az account - uses: azure/CLI@v2 - with: - inlineScript: | - az account set --subscription ${{env.AZURE_SUBSCRIPTION_ID}} - - echo $(az ad sp list --display-name myServicePrincipalName --query "[].{spID:appId}" --output tsv) - - az role assignment create \ - --role "5e0bd9bd-7b93-4f28-af87-19fc36ad61bd" \ - --assignee-object-id "$(az ad sp list --display-name myServicePrincipalName --query "[].{spID:appId}" --output tsv)" \ - --scope /subscriptions/${{env.AZURE_SUBSCRIPTION_ID}}/resourceGroups/${{env.AZURE_RESOURCE_GROUP}}\ - --assignee-principal-type User - - name: evaluate orchestrator working-directory: ./src/api run: |