Personal Nix flake
nixos home-manager nix
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(ci): Remove workflow_run trigger on build, quieter matrix generation

+11 -11
+10 -10
.github/workflows/build.yml
··· 2 2 3 3 on: 4 4 workflow_dispatch: 5 - workflow_run: 6 - workflows: 7 - - Check 8 - types: 9 - - completed 5 + push: 6 + branches: 7 + - main 8 + - develop 9 + paths: 10 + - 'flake.nix' 11 + - 'flake.lock' 12 + - 'nix/**' 10 13 11 14 concurrency: 12 15 group: ${{ github.workflow }}-${{ github.ref_name }} ··· 15 18 jobs: 16 19 inventory: 17 20 name: Build inventory 18 - if: ${{ github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success' }} 19 21 runs-on: ubuntu-24.04 20 22 outputs: 21 23 x86_64-linux: ${{ steps.matrix.outputs.x86_64-linux }} 22 24 aarch64-linux: ${{ steps.matrix.outputs.aarch64-linux }} 23 25 steps: 24 26 - uses: actions/checkout@v4 25 - with: 26 - ref: ${{ github.event.workflow_run.head_sha }} 27 27 - name: Setup Nix 28 28 uses: ./.github/actions/nix-setup 29 29 with: ··· 32 32 id: matrix 33 33 run: | 34 34 { 35 - echo "x86_64-linux=$(nix run .#generate-ci-matrix -- --system x86_64-linux --branch "$GITHUB_REF_NAME" --flatten)" 36 - echo "aarch64-linux=$(nix run .#generate-ci-matrix -- --system aarch64-linux --branch "$GITHUB_REF_NAME" --flatten)" 35 + echo "x86_64-linux=$(nix run --quiet .#generate-ci-matrix -- --system x86_64-linux --branch "$GITHUB_REF_NAME" --flatten)" 36 + echo "aarch64-linux=$(nix run --quiet .#generate-ci-matrix -- --system aarch64-linux --branch "$GITHUB_REF_NAME" --flatten)" 37 37 } >> "$GITHUB_OUTPUT" 38 38 39 39 build-x86_64-linux:
+1 -1
.github/workflows/check.yml
··· 16 16 cancel-in-progress: true 17 17 18 18 jobs: 19 - inventory: 19 + check: 20 20 name: Run flake checks 21 21 runs-on: ubuntu-24.04 22 22 steps: