From 540fd4e30f7d3de2ee908febff560af23bd800ca Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Thu, 29 May 2025 18:55:25 +0200 Subject: [PATCH] workflows: run without condition on changed paths To enable *required status checks / workflows* in the future, we'd like to run all workflows unconditionally. Since those workflows are already using cachix, the additional runs will be very cheap. Yes, we'll run additional jobs, but that will be temporary only, see next commits. The immediate upside is, that we're not going to accidentally miss some of the paths that would cause rebuilds as we did in the past. --- .github/workflows/check-shell.yml | 3 --- .github/workflows/lib-tests.yml | 3 --- .github/workflows/manual-nixos-v2.yml | 9 --------- .github/workflows/manual-nixpkgs-v2.yml | 4 ---- 4 files changed, 19 deletions(-) diff --git a/.github/workflows/check-shell.yml b/.github/workflows/check-shell.yml index 37eddde22529..5f25b45ac163 100644 --- a/.github/workflows/check-shell.yml +++ b/.github/workflows/check-shell.yml @@ -5,9 +5,6 @@ on: paths: - .github/workflows/check-shell.yml pull_request_target: - paths: - - 'shell.nix' - - 'ci/**' concurrency: group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.run_id }} diff --git a/.github/workflows/lib-tests.yml b/.github/workflows/lib-tests.yml index 4a22a5e2dfdc..a8efbde6fd69 100644 --- a/.github/workflows/lib-tests.yml +++ b/.github/workflows/lib-tests.yml @@ -5,9 +5,6 @@ on: paths: - .github/workflows/lib-tests.yml pull_request_target: - paths: - - 'lib/**' - - 'maintainers/**' concurrency: group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.run_id }} diff --git a/.github/workflows/manual-nixos-v2.yml b/.github/workflows/manual-nixos-v2.yml index f2728da91c93..347668a0ea79 100644 --- a/.github/workflows/manual-nixos-v2.yml +++ b/.github/workflows/manual-nixos-v2.yml @@ -8,15 +8,6 @@ on: branches: - master - release-* - paths: - - "nixos/**" - # Also build when the nixpkgs doc changed, since we take things like - # the release notes and some css and js files from there. - # See nixos/doc/manual/default.nix - - "doc/**" - # Build when something in lib changes - # Since the lib functions are used to 'massage' the options before producing the manual - - "lib/**" concurrency: group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.run_id }} diff --git a/.github/workflows/manual-nixpkgs-v2.yml b/.github/workflows/manual-nixpkgs-v2.yml index f68fae524e90..1bd1e950578d 100644 --- a/.github/workflows/manual-nixpkgs-v2.yml +++ b/.github/workflows/manual-nixpkgs-v2.yml @@ -5,10 +5,6 @@ on: paths: - .github/workflows/manual-nixpkgs-v2.yml pull_request_target: - paths: - - 'doc/**' - - 'lib/**' - - 'pkgs/by-name/ni/nixdoc/**' concurrency: group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.run_id }}