mirror of https://github.com/vuejs/core.git
ci: prevents action from running on forks (#11766)
This commit is contained in:
parent
d427bcd71c
commit
0387e1b906
|
@ -16,6 +16,7 @@ jobs:
|
||||||
uses: ./.github/workflows/test.yml
|
uses: ./.github/workflows/test.yml
|
||||||
|
|
||||||
continuous-release:
|
continuous-release:
|
||||||
|
if: github.repository == 'vuejs/core'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|
|
@ -18,6 +18,7 @@ env:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
upload:
|
upload:
|
||||||
|
if: github.repository == 'vuejs/core'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
|
@ -18,6 +18,7 @@ jobs:
|
||||||
size-report:
|
size-report:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: >
|
if: >
|
||||||
|
github.repository == 'vuejs/core' &&
|
||||||
github.event.workflow_run.event == 'pull_request' &&
|
github.event.workflow_run.event == 'pull_request' &&
|
||||||
github.event.workflow_run.conclusion == 'success'
|
github.event.workflow_run.conclusion == 'success'
|
||||||
steps:
|
steps:
|
||||||
|
|
Loading…
Reference in New Issue