Skip to content

Commit 7ee5a65

Browse files
committed
fix workflow
1 parent cbc5adf commit 7ee5a65

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'
265+
if: matrix.cfg.platform == 'linux-64' && github.event.pull_request.head.repo.full_name == github.repository
266266
uses: snapcore/action-publish@v1
267267
env:
268268
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}

0 commit comments

Comments
 (0)