Skip to content

Commit 0387e1b

Browse files
authored
ci: prevents action from running on forks (#11766)
1 parent d427bcd commit 0387e1b

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

.github/workflows/ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
uses: ./.github/workflows/test.yml
1717

1818
continuous-release:
19+
if: github.repository == 'vuejs/core'
1920
runs-on: ubuntu-latest
2021
steps:
2122
- name: Checkout

.github/workflows/size-data.yml

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ env:
1818

1919
jobs:
2020
upload:
21+
if: github.repository == 'vuejs/core'
2122
runs-on: ubuntu-latest
2223

2324
steps:

.github/workflows/size-report.yml

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
size-report:
1919
runs-on: ubuntu-latest
2020
if: >
21+
github.repository == 'vuejs/core' &&
2122
github.event.workflow_run.event == 'pull_request' &&
2223
github.event.workflow_run.conclusion == 'success'
2324
steps:

0 commit comments

Comments
 (0)