Skip to content

Commit 0a5007a

Browse files
authored
ci: prevent action running on forks (#1499)
1 parent bc54e1b commit 0a5007a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/pkg.pr.new.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
build:
1515
name: Publish Test Packages
1616
runs-on: ubuntu-22.04
17+
if: ${{ github.repository == 'wxt-dev/wxt' }}
1718
steps:
1819
- name: Checkout
1920
uses: actions/checkout@v4

.github/workflows/vhs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
vhs:
1313
name: Create VHS
1414
runs-on: ubuntu-22.04
15+
if: ${{ github.repository == 'wxt-dev/wxt' }}
1516
permissions:
1617
contents: write
1718
steps:

0 commit comments

Comments
 (0)