Skip to content

Commit 000ca60

Browse files
authored
chore: Skip publishing package for dependabot PRs (#222)
1 parent 2f3a68c commit 000ca60

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/_reusable_build_package.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ jobs:
222222
if-no-files-found: error
223223

224224
- name: Publish packages
225-
if: runner.os == 'Linux'
225+
if: runner.os == 'Linux' && github.actor != 'dependabot[bot]'
226226
uses: ./ci/github-actions/make
227227
with:
228228
target: publish-package
@@ -233,7 +233,7 @@ jobs:
233233
aws-secret-access-key-new: ${{ secrets.AWS_SECRET_ACCESS_KEY_NEW }}
234234

235235
- name: Publish packages
236-
if: runner.os != 'Linux'
236+
if: runner.os != 'Linux' && github.actor != 'dependabot[bot]'
237237
working-directory: build
238238
env:
239239
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
@@ -244,7 +244,7 @@ jobs:
244244
run: make publish-package
245245

246246
- name: Wait for Packagecloud packages to be indexed
247-
if: runner.os == 'Linux'
247+
if: runner.os == 'Linux' && github.actor != 'dependabot[bot]'
248248
uses: ./ci/github-actions/make
249249
with:
250250
target: wait-for-packagecloud-indexing

0 commit comments

Comments
 (0)