Skip to content

Commit

Permalink
don't run gpg and quay steps if dependabot made the change (#6508)
Browse files Browse the repository at this point in the history
Signed-off-by: Bryce Palmer <bpalmer@redhat.com>
  • Loading branch information
everettraven authored Jul 21, 2023
1 parent da88378 commit 799d6b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
go-version: 1.19

- name: gpg init
if: github.event_name != 'pull_request'
if: ${{ github.event_name != 'pull_request' && github.actor != 'dependabot[bot]' }}
run: .ci/gpg/create-keyring.sh
env:
GPG_PASSWORD: ${{ secrets.GPG_PASSWORD }}
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
uses: docker/setup-buildx-action@v2

- name: quay.io login
if: github.event_name != 'pull_request'
if: ${{ github.event_name != 'pull_request' && github.actor != 'dependabot[bot]' }}
uses: docker/login-action@v2
with:
username: ${{ secrets.QUAY_USERNAME }}
Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:
uses: docker/setup-buildx-action@v2

- name: quay.io login
if: github.event_name != 'pull_request'
if: ${{ github.event_name != 'pull_request' && github.actor != 'dependabot[bot]' }}
uses: docker/login-action@v2
with:
username: ${{ secrets.QUAY_USERNAME }}
Expand Down

0 comments on commit 799d6b1

Please sign in to comment.