chore(github): prevent running module nuxt-ui-pro job on forks

This commit is contained in:
Benjamin Canac
2025-03-26 17:33:32 +01:00
parent c07a79571f
commit 2e7d4989b5

View File

@@ -160,6 +160,9 @@ jobs:
nuxt-ui-pro: nuxt-ui-pro:
needs: build needs: build
# Only run this job if not a fork PR (when push event or PR from same repo)
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
permissions: permissions: