Don't login to azure on fork PRs

This commit is contained in:
Caelan Sayler
2025-05-18 09:15:35 +01:00
committed by Caelan
parent fec5b97a41
commit 49d46319b8

View File

@@ -272,7 +272,7 @@ jobs:
merge-multiple: true
- name: Azure login
uses: azure/login@v2
if: github.repository == 'velopack/velopack'
if: github.event.pull_request.head.repo.full_name == github.repository
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}