Skip to content

Commit ade974a

Browse files
committed
Add guard to publish workflow to skip on forks.
1 parent 7ee1479 commit ade974a

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
@@ -13,6 +13,7 @@ jobs:
1313
publish:
1414
name: Publish to crates.io
1515
runs-on: ubuntu-latest
16+
if: ${{ github.repository_owner == 'alexrudy' }}
1617
steps:
1718
- name: Checkout
1819
uses: actions/checkout@v4

0 commit comments

Comments
 (0)