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:
|
||||
preview:
|
||||
name: Create deploy preview
|
||||
if: github.repository == 'KonradSzwarc/devscard'
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
deploy-url: ${{ steps.netlify.outputs.deploy-url }}
|
||||
|
|
@ -35,6 +36,7 @@ jobs:
|
|||
|
||||
lighthouse:
|
||||
name: Run Lighthouse tests
|
||||
if: github.repository == 'KonradSzwarc/devscard'
|
||||
needs: preview
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
|
|||
Loading…
Reference in a new issue