diff options
author | Mihai Fufezan <[email protected]> | 2024-07-27 21:18:22 +0300 |
---|---|---|
committer | Mihai Fufezan <[email protected]> | 2024-07-27 21:18:22 +0300 |
commit | 0398a7a2c80b23f6d346c8e4118e2a2b8e34c084 (patch) | |
tree | 14603b0ef662ba990a25cfae21d5f2b72e1f015a /.github/workflows/ci.yaml | |
parent | 55ceca4cdd8f4b3980d2840b85f6b91778a24eab (diff) | |
download | Hyprland-0398a7a2c80b23f6d346c8e4118e2a2b8e34c084.tar.gz Hyprland-0398a7a2c80b23f6d346c8e4118e2a2b8e34c084.zip |
CI: only run once for PRs with branches from original repo
Diffstat (limited to '.github/workflows/ci.yaml')
-rw-r--r-- | .github/workflows/ci.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 6d25e027..5deb24a2 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -3,6 +3,7 @@ name: Build Hyprland on: [push, pull_request, workflow_dispatch] jobs: gcc: + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name name: "Build Hyprland (Arch)" runs-on: ubuntu-latest container: @@ -44,6 +45,7 @@ jobs: path: Hyprland.tar.xz meson: + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name name: "Build Hyprland with Meson (Arch)" runs-on: ubuntu-latest container: @@ -64,6 +66,7 @@ jobs: run: ninja -C build no-pch: + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name name: "Build Hyprland without precompiled headers (Arch)" runs-on: ubuntu-latest container: @@ -83,6 +86,7 @@ jobs: run: make nopch noxwayland: + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name name: "Build Hyprland in pure Wayland (Arch)" runs-on: ubuntu-latest container: @@ -103,6 +107,7 @@ jobs: run: make release clang-format: + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name name: "Code Style (Arch)" runs-on: ubuntu-latest container: |