Skip to content

Commit 356bd1d

Browse files
authored
fix(ci): prevent publish workflow from running on forks (#34)
1 parent f2b070c commit 356bd1d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ permissions:
2626
jobs:
2727
publish:
2828
runs-on: ubuntu-latest
29+
if: github.repository == 'code-yeongyu/oh-my-opencode'
2930
steps:
3031
- uses: actions/checkout@v4
3132
with:

0 commit comments

Comments
 (0)