diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1a623787..94300b75 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,6 +8,7 @@ on: jobs: job_build: + if: ${{ github.event.pull_request == null || github.event.pull_request.head.repo.full_name == github.repository }} name: Build runs-on: ubuntu-latest steps: @@ -36,6 +37,7 @@ jobs: ${{ github.workspace }}/*.tgz job_lint: + if: ${{ github.event.pull_request == null || github.event.pull_request.head.repo.full_name == github.repository }} name: Lint needs: job_build runs-on: ubuntu-latest @@ -57,6 +59,7 @@ jobs: run: pnpm lint job_test: + if: ${{ github.event.pull_request == null || github.event.pull_request.head.repo.full_name == github.repository }} name: Node (${{ matrix.node }}) Unit Tests needs: job_build runs-on: ubuntu-latest diff --git a/.github/workflows/pr-conventional-commit.yml b/.github/workflows/pr-conventional-commit.yml index 473bb808..cd80e750 100644 --- a/.github/workflows/pr-conventional-commit.yml +++ b/.github/workflows/pr-conventional-commit.yml @@ -6,6 +6,7 @@ on: jobs: validate-pr-title: + if: ${{ github.event.pull_request == null || github.event.pull_request.head.repo.full_name == github.repository }} runs-on: ubuntu-latest steps: - name: PR Conventional Commit Validation