Skip to content

Commit 799d6b1

Browse files
authored
don't run gpg and quay steps if dependabot made the change (#6508)
Signed-off-by: Bryce Palmer <[email protected]>
1 parent da88378 commit 799d6b1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
go-version: 1.19
4949

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

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

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

0 commit comments

Comments
 (0)