Repository navigation
fix: pass a boolean to the reusable workflow's force input — releases dead since May - #49
Merged
Merged
Conversation
github.event.inputs.force || 'false' evaluates to the STRING 'false' on push events; the reusable workflow declares force as type: boolean, so GitHub rejects the call before any job starts (the release has been silently dead since the CI simplification). == 'true' yields a real boolean on both push (null == 'true' -> false) and dispatch.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Releases from this repository have been silently dead since the CI simplification: the
Releaseworkflow fails at trigger time with zero jobs started ("This run likely failed because of a workflow file issue"). The May-13 release is still the latest.Root cause
On
pushevents this expression evaluates to the string'false', but the reusable workflow (actions-mn/.github, metanorma-release.yml) declaresforceastype: boolean. GitHub validates workflow_call inputs before starting anything — a string for a boolean input aborts the run.Fix
A real boolean on both triggers:
push→null == 'true'→false;workflow_dispatch→'true' == 'true'.Merging this also republishes all 134 administrative documents with their new abstracts (PR #48).