Skip to content

Commit c2128e4

Browse files
committed
skip Snap build for dependabot PRs
1 parent aea6162 commit c2128e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ jobs:
262262
overwrite: true
263263

264264
- name: Publish snap to the latest/edge channel in Snap Store
265-
if: matrix.cfg.platform == 'linux-64' && github.event.pull_request.head.repo.full_name == github.repository
265+
if: matrix.cfg.platform == 'linux-64' && github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]'
266266
uses: snapcore/action-publish@v1
267267
env:
268268
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}

0 commit comments

Comments
 (0)