From 8876422d1fc8009dfb295520ebd314ce22897817 Mon Sep 17 00:00:00 2001 From: Erich Blume Date: Tue, 24 Mar 2026 13:23:45 -0700 Subject: [PATCH] Fix detect job checkout for workflow_dispatch builds The detect job was checking out main instead of the dispatched ref, so it couldn't find build files that only exist on feature branches. Co-Authored-By: Claude Opus 4.6 (1M context) --- .forgejo/workflows/build-container.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.forgejo/workflows/build-container.yaml b/.forgejo/workflows/build-container.yaml index 6bd08e0..6e5ed38 100644 --- a/.forgejo/workflows/build-container.yaml +++ b/.forgejo/workflows/build-container.yaml @@ -30,6 +30,7 @@ jobs: - name: Checkout uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: + ref: ${{ inputs.ref || github.sha }} fetch-depth: 2 - name: Detect and classify changed containers