diff --git a/.github/workflows/linux_build_matrix.yml b/.github/workflows/linux_build_matrix.yml index a1ec4bd669..7d3a210ea0 100644 --- a/.github/workflows/linux_build_matrix.yml +++ b/.github/workflows/linux_build_matrix.yml @@ -11,6 +11,7 @@ on: jobs: build_linux_qt: name: "AppImage" + if: github.repository != 'PCSX2/pcsx2' || github.event_name == 'pull_request' uses: ./.github/workflows/linux_build_qt.yml with: jobName: "Qt" @@ -20,6 +21,7 @@ jobs: secrets: inherit build_linux_flatpak: name: "Flatpak" + if: github.repository != 'PCSX2/pcsx2' || github.event_name == 'pull_request' uses: ./.github/workflows/linux_build_flatpak.yml with: jobName: "Qt" diff --git a/.github/workflows/macos_build_matrix.yml b/.github/workflows/macos_build_matrix.yml index 66332a5b03..ad3bfbe16c 100644 --- a/.github/workflows/macos_build_matrix.yml +++ b/.github/workflows/macos_build_matrix.yml @@ -11,6 +11,7 @@ on: jobs: build_macos_qt: name: "Defaults" + if: github.repository != 'PCSX2/pcsx2' || github.event_name == 'pull_request' uses: ./.github/workflows/macos_build.yml with: jobName: "Qt" diff --git a/.github/workflows/windows_build_matrix.yml b/.github/workflows/windows_build_matrix.yml index 71ab58e57b..22a999a509 100644 --- a/.github/workflows/windows_build_matrix.yml +++ b/.github/workflows/windows_build_matrix.yml @@ -12,6 +12,7 @@ jobs: # MSBUILD lint_vs_proj_files: name: Lint VS Project Files + if: github.repository != 'PCSX2/pcsx2' || github.event_name == 'pull_request' runs-on: windows-2019 steps: - name: Checkout Repository @@ -22,6 +23,7 @@ jobs: build_qt_sse4: needs: lint_vs_proj_files name: "SSE4" + if: github.repository != 'PCSX2/pcsx2' || github.event_name == 'pull_request' uses: ./.github/workflows/windows_build_qt.yml with: jobName: Qt @@ -32,6 +34,7 @@ jobs: build_qt_avx2: needs: lint_vs_proj_files name: "AVX2" + if: github.repository != 'PCSX2/pcsx2' || github.event_name == 'pull_request' uses: ./.github/workflows/windows_build_qt.yml with: jobName: Qt @@ -40,6 +43,7 @@ jobs: build_qt_cmake: name: "CMake" + if: github.repository != 'PCSX2/pcsx2' || github.event_name == 'pull_request' uses: ./.github/workflows/windows_build_qt.yml with: jobName: Qt @@ -50,6 +54,7 @@ jobs: build_qt_clang_sse4: needs: lint_vs_proj_files name: "SSE4" + if: github.repository != 'PCSX2/pcsx2' || github.event_name == 'pull_request' uses: ./.github/workflows/windows_build_qt.yml with: jobName: Qt Clang @@ -60,6 +65,7 @@ jobs: build_qt_clang_avx2: needs: lint_vs_proj_files name: "AVX2" + if: github.repository != 'PCSX2/pcsx2' || github.event_name == 'pull_request' uses: ./.github/workflows/windows_build_qt.yml with: jobName: Qt Clang @@ -68,6 +74,7 @@ jobs: build_qt_cmake_clang: name: "CMake" + if: github.repository != 'PCSX2/pcsx2' || github.event_name == 'pull_request' uses: ./.github/workflows/windows_build_qt.yml with: jobName: Qt Clang