Run app quality check only for PRs within the main repo
This commit is contained in:
parent
f331ec7927
commit
d01804eaab
1 changed files with 2 additions and 0 deletions
2
.github/workflows/check-app-quality.yml
vendored
2
.github/workflows/check-app-quality.yml
vendored
|
|
@ -7,6 +7,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
preview:
|
preview:
|
||||||
name: Create deploy preview
|
name: Create deploy preview
|
||||||
|
if: github.repository == 'KonradSzwarc/devscard'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
outputs:
|
||||||
deploy-url: ${{ steps.netlify.outputs.deploy-url }}
|
deploy-url: ${{ steps.netlify.outputs.deploy-url }}
|
||||||
|
|
@ -35,6 +36,7 @@ jobs:
|
||||||
|
|
||||||
lighthouse:
|
lighthouse:
|
||||||
name: Run Lighthouse tests
|
name: Run Lighthouse tests
|
||||||
|
if: github.repository == 'KonradSzwarc/devscard'
|
||||||
needs: preview
|
needs: preview
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue