Skip to content

Commit

Permalink
Skip Azure CLI login in pull requests.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed May 23, 2024
1 parent d46b4ed commit fd4dd31
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ jobs:
working-directory: build/windows

- name: 'Azure CLI login with federated credential'
if: github.event_name != 'pull_request'
uses: azure/login@v2
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
Expand All @@ -202,9 +203,6 @@ jobs:
if: github.event_name != 'pull_request'
uses: azure/trusted-signing-action@v0.3.18
with:
azure-tenant-id: ${{ secrets.AZURE_TENANT_ID }}
azure-client-id: ${{ secrets.AZURE_CLIENT_ID }}
azure-client-secret: ${{ secrets.AZURE_CLIENT_SECRET }}
endpoint: https://eus.codesigning.azure.net/
trusted-signing-account-name: ImageMagick
certificate-profile-name: ImageMagick
Expand Down Expand Up @@ -263,6 +261,7 @@ jobs:
working-directory: build/windows

- name: 'Azure CLI login with federated credential'
if: github.event_name != 'pull_request'
uses: azure/login@v2
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
Expand Down

0 comments on commit fd4dd31

Please sign in to comment.