Skip to content

Commit 2345e0f

Browse files
committed
ci(release): only run release in main repository
Prevents GitHub Actions from failing in forks, where they cannot be published to NPM
1 parent 7a3d341 commit 2345e0f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/release.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ jobs:
7070

7171
# Create release
7272
- name: 🚀 Create release
73+
if: github.repository == 'pawcoding/astro-loader-pocketbase'
7374
id: release
7475
uses: cycjimmy/semantic-release-action@v4
7576
env:

0 commit comments

Comments
 (0)