Skip to content

Commit 65c1b60

Browse files
hyperpolymathclaude
andcommitted
fix(ci): the BoJ trigger has never been a valid workflow
⚙ 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 <noreply@anthropic.com> Signed-off-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com>
1 parent 8bcb9f7 commit 65c1b60

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

.github/workflows/boj-build.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ on:
1414
jobs:
1515
trigger-boj:
1616
runs-on: ubuntu-latest
17-
if: ${{ vars.BOJ_SERVER_URL != '' || secrets.BOJ_SERVER_URL != '' }}
1817
steps:
1918
- name: Checkout
2019
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

0 commit comments

Comments
 (0)