From 7855bdc81c19bfdded24c4a51b69869030bef52f Mon Sep 17 00:00:00 2001 From: "Jonathan D.A. Jewell" <6759885+hyperpolymath@users.noreply.github.com> Date: Wed, 5 Aug 2026 05:36:52 +0100 Subject: [PATCH] fix(ci): the BoJ trigger has never been a valid workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ⚙ Auto: BoJ server build trigger has failed every run, with zero jobs each time. The reason is a job-level guard: if: ${{ vars.BOJ_SERVER_URL != '' || secrets.BOJ_SERVER_URL != '' }} GitHub rejects this outright — "Unrecognized named-value: 'secrets'". The secrets context is not available in a job-level if:, only in env:, with:, run: and reusable-workflow inputs. So the file has never been a valid workflow, and the run fails during expression evaluation before any job exists. That is why it produces no log and no check run: there is nothing to log. The guard is also redundant. The step already sets env: BOJ_URL: ${{ secrets.BOJ_SERVER_URL || vars.BOJ_SERVER_URL }} which IS a legal use of the secrets context, and then exits 0 early when BOJ_URL is empty. Deleting the broken guard restores exactly the intended behaviour: a clean skip when the server is not configured. This is not a local defect. 51 repositories in the estate carry the same line, which means 51 mains have been permanently red on a workflow that has never once executed. Co-Authored-By: Claude Fable 5 Signed-off-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com> --- .github/workflows/boj-build.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/boj-build.yml b/.github/workflows/boj-build.yml index d13fa16..da46d18 100644 --- a/.github/workflows/boj-build.yml +++ b/.github/workflows/boj-build.yml @@ -19,7 +19,6 @@ jobs: trigger-boj: runs-on: ubuntu-latest timeout-minutes: 15 - if: ${{ vars.BOJ_SERVER_URL != '' || secrets.BOJ_SERVER_URL != '' }} steps: - name: Checkout uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1