diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1462a674..7739d2b2 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -3,11 +3,9 @@ name: Build Hyprland on: [push, pull_request, workflow_dispatch] jobs: gcc: + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork name: "Build Hyprland (Arch)" runs-on: ubuntu-latest - concurrency: - group: gcc - cancel-in-progress: true container: image: archlinux steps: @@ -47,11 +45,9 @@ jobs: path: Hyprland.tar.xz meson: + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork name: "Build Hyprland with Meson (Arch)" runs-on: ubuntu-latest - concurrency: - group: meson - cancel-in-progress: true container: image: archlinux steps: @@ -70,11 +66,9 @@ jobs: run: ninja -C build no-pch: + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork name: "Build Hyprland without precompiled headers (Arch)" runs-on: ubuntu-latest - concurrency: - group: nopch - cancel-in-progress: true container: image: archlinux steps: @@ -92,11 +86,9 @@ jobs: run: make nopch noxwayland: + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork name: "Build Hyprland in pure Wayland (Arch)" runs-on: ubuntu-latest - concurrency: - group: noxwayland - cancel-in-progress: true container: image: archlinux steps: @@ -115,11 +107,9 @@ jobs: run: make release clang-format: + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork name: "Code Style (Arch)" runs-on: ubuntu-latest - concurrency: - group: clangformat - cancel-in-progress: true container: image: archlinux steps: diff --git a/.github/workflows/man-update.yaml b/.github/workflows/man-update.yaml index 8134dd53..b47787c0 100644 --- a/.github/workflows/man-update.yaml +++ b/.github/workflows/man-update.yaml @@ -12,9 +12,6 @@ jobs: main: name: Build man pages runs-on: ubuntu-latest - concurrency: - group: man - cancel-in-progress: true steps: - name: Install deps run: sudo apt install pandoc diff --git a/.github/workflows/nix-ci.yml b/.github/workflows/nix-ci.yml index e83050db..b25ed9aa 100644 --- a/.github/workflows/nix-ci.yml +++ b/.github/workflows/nix-ci.yml @@ -5,17 +5,11 @@ on: [push, pull_request, workflow_dispatch] jobs: update-inputs: if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' - concurrency: - group: nixupdateinputs - cancel-in-progress: true uses: ./.github/workflows/nix-update-inputs.yml secrets: inherit build: - if: always() && !cancelled() && !contains(needs.*.result, 'failure') - concurrency: - group: nixbuild - cancel-in-progress: true + if: (github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork) && !contains(needs.*.result, 'failure') needs: update-inputs uses: ./.github/workflows/nix-build.yml secrets: inherit diff --git a/.github/workflows/security-checks.yml b/.github/workflows/security-checks.yml index 9bb8252a..4f539132 100644 --- a/.github/workflows/security-checks.yml +++ b/.github/workflows/security-checks.yml @@ -4,11 +4,9 @@ on: [push, pull_request] jobs: flawfinder: + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork name: Flawfinder Checks runs-on: ubuntu-latest - concurrency: - group: security - cancel-in-progress: true permissions: actions: read contents: read