From 5a0f0fa556131453d67b825705882d607fd15c01 Mon Sep 17 00:00:00 2001 From: MarcoDotIO Date: Thu, 5 Nov 2026 22:02:11 -0500 Subject: [PATCH] Pass max-files to the updater as a number A manual run handed the dispatch input to the reusable workflow in a form its number input rejected, so the run failed before any job started. fromJSON(format(...)) always passes a number; tested with a manual run on a test branch. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/version-check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/version-check.yml b/.github/workflows/version-check.yml index 95fc33a..ac614c2 100644 --- a/.github/workflows/version-check.yml +++ b/.github/workflows/version-check.yml @@ -27,6 +27,6 @@ jobs: uses: ATR-Lab/.github/.github/workflows/docs-version-updater.yml@main with: paths: ${{ inputs.paths || 'README.md docs/*.md' }} - max-files: ${{ inputs.max-files || 0 }} + max-files: ${{ fromJSON(format('{0}', inputs.max-files || 0)) }} secrets: ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY_ATR_LAB_DOC_UPDATER }}