From 2b6c92ecb1f61e2e0b7ef5b9288e0d0cc1dafaf3 Mon Sep 17 00:00:00 2001 From: Nicholas Dudfield Date: Tue, 19 Aug 2025 14:15:49 +0700 Subject: [PATCH] debug: add logging to matrix generation --- .github/workflows/xahau-ga-nix.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/xahau-ga-nix.yml b/.github/workflows/xahau-ga-nix.yml index cf3315275..6bf42acae 100644 --- a/.github/workflows/xahau-ga-nix.yml +++ b/.github/workflows/xahau-ga-nix.yml @@ -100,8 +100,16 @@ jobs: commit_message = """${{ github.event.head_commit.message }}""" pr_title = """${{ github.event.pull_request.title }}""" + # Debug logging + print(f"Event: {event_name}") + print(f"Ref: {ref}") + print(f"Base ref: {base_ref}") + print(f"PR title: {pr_title}") + print(f"Commit message: {commit_message}") + # Check for override tags in commit message or PR title force_full = "[ci-nix-full-matrix]" in commit_message or "[ci-nix-full-matrix]" in pr_title + print(f"Force full matrix: {force_full}") # Check if this is targeting a main branch # For PRs: check base_ref (target branch)