Skip to content

Commit 22473d1

Browse files
committed
stop running publish workflows in forks
1 parent 9075137 commit 22473d1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/publish-snapshot.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ concurrency: ${{ github.workflow }}-${{ github.ref }}
2222

2323
jobs:
2424
publish-snapshot:
25+
if: github.repository == 'radix-ui/primitives'
2526
runs-on: ubuntu-latest
2627
steps:
2728
- name: Checkout

.github/workflows/publish-stable.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ concurrency: ${{ github.workflow }}-${{ github.ref }}
1313

1414
jobs:
1515
publish-stable:
16+
if: github.repository == 'radix-ui/primitives'
1617
name: Version or publish
1718
timeout-minutes: 15
1819
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)