Skip to content

Commit

Permalink
Disable singing when in a pull request.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Oct 1, 2023
1 parent df3c8de commit fd7a273
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ jobs:
working-directory: build/windows

- name: Sign library (Magick.NET)
if: ${{ github.event_name != 'pull_request' }}
uses: dlemstra/code-sign-action@v1
with:
certificate: '${{ secrets.IMAGEMAGICK_CERTIFICATE }}'
Expand All @@ -195,6 +196,7 @@ jobs:
working-directory: publish

- name: Sign NuGet package
if: ${{ github.event_name != 'pull_request' }}
uses: dlemstra/code-sign-action@v1
with:
certificate: '${{ secrets.IMAGEMAGICK_CERTIFICATE }}'
Expand Down Expand Up @@ -239,6 +241,7 @@ jobs:
working-directory: build/windows

- name: 'Sign library (Magick.NET.${{ matrix.libraryName }})'
if: ${{ github.event_name != 'pull_request' }}
uses: dlemstra/code-sign-action@v1
with:
certificate: '${{ secrets.IMAGEMAGICK_CERTIFICATE }}'
Expand All @@ -255,6 +258,7 @@ jobs:
working-directory: publish

- name: Sign NuGet package
if: ${{ github.event_name != 'pull_request' }}
uses: dlemstra/code-sign-action@v1
with:
certificate: '${{ secrets.IMAGEMAGICK_CERTIFICATE }}'
Expand Down

0 comments on commit fd7a273

Please sign in to comment.