Run app quality check only for PRs within the main repo

This commit is contained in:
Konrad Szwarc 2023-01-20 18:16:30 +01:00
parent f331ec7927
commit d01804eaab

View file

@ -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: