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