Conditionally run workflows only on parent repo
This commit is contained in:
parent
58fdca3006
commit
d087f296da
2
.github/workflows/build-storybook.yml
vendored
2
.github/workflows/build-storybook.yml
vendored
@ -8,6 +8,8 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build-and-deploy:
|
build-and-deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: github.repository == 'owncast/owncast'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
1
.github/workflows/bundle-web.yml
vendored
1
.github/workflows/bundle-web.yml
vendored
@ -10,6 +10,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
bundle:
|
bundle:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: github.repository == 'owncast/owncast'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
2
.github/workflows/chromatic.yml
vendored
2
.github/workflows/chromatic.yml
vendored
@ -16,6 +16,8 @@ jobs:
|
|||||||
chromatic-deployment:
|
chromatic-deployment:
|
||||||
# Operating System
|
# Operating System
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: github.repository == 'owncast/owncast'
|
||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
working-directory: ./web
|
working-directory: ./web
|
||||||
|
1
.github/workflows/docker-nightly.yaml
vendored
1
.github/workflows/docker-nightly.yaml
vendored
@ -11,6 +11,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
Docker:
|
Docker:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: github.repository == 'owncast/owncast'
|
||||||
steps:
|
steps:
|
||||||
- uses: earthly/actions-setup@v1
|
- uses: earthly/actions-setup@v1
|
||||||
with:
|
with:
|
||||||
|
1
.github/workflows/docker-webv2.yaml
vendored
1
.github/workflows/docker-webv2.yaml
vendored
@ -11,6 +11,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
Docker:
|
Docker:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: github.repository == 'owncast/owncast'
|
||||||
steps:
|
steps:
|
||||||
- uses: earthly/actions-setup@v1
|
- uses: earthly/actions-setup@v1
|
||||||
with:
|
with:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user