Skip to content

fix(ci): remove unknown create-release input from publish-candidate recipe - #481

Merged
c-vigo merged 3 commits into
devfrom
bugfix/479-publish-candidate-create-release-input
Apr 5, 2026
Merged

c-vigo merged 3 commits into
devfrom
bugfix/479-publish-candidate-create-release-input

Conversation

@c-vigo

@c-vigo c-vigo commented Apr 2, 2026

Copy link
Copy Markdown
Contributor

Description

The publish-candidate recipe in justfile.gh passes -f "create-release=..." to release.yml, but the upstream workflow does not declare a create-release input. GitHub rejects the dispatch with HTTP 422. This was introduced in commit ad09ebd (#463), which added create-release to the downstream workflow and updated both justfile.gh files, but did not add the input to the upstream .github/workflows/release.yml.

Type of Change

  • feat -- New feature
  • fix -- Bug fix
  • docs -- Documentation only
  • chore -- Maintenance task (deps, config, etc.)
  • refactor -- Code restructuring (no behavior change)
  • test -- Adding or updating tests
  • ci -- CI/CD pipeline changes
  • build -- Build system or dependency changes
  • revert -- Reverts a previous commit
  • style -- Code style (formatting, whitespace)

Modifiers

  • Breaking change (!) -- This change breaks backward compatibility

Changes Made

Changelog Entry

Fixed

  • publish-candidate recipe sends unknown create-release input (#479)
    • Remove create-release parameter and -f flag from upstream justfile.gh; the input was added to the downstream workflow only but the recipe was updated in both places

Testing

  • Tests pass locally (just test)
  • Manual testing performed (describe below)

Manual Testing Details

Verified that just publish-candidate 0.3.2 no longer includes create-release in the gh workflow run arguments by inspecting the recipe source.

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly (edit docs/templates/, then run just docs)
  • I have updated CHANGELOG.md in the [Unreleased] section (and pasted the entry above)
  • My changes generate no new warnings or errors
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published

Additional Notes

The downstream template (assets/workspace/.devcontainer/justfile.gh) has the same create-release parameter, but its target workflow (assets/workspace/.github/workflows/release.yml) does declare create-release, so the downstream recipe is correct and unchanged.

Refs: #479

@c-vigo c-vigo self-assigned this Apr 2, 2026
@c-vigo
c-vigo enabled auto-merge April 5, 2026 08:37
@c-vigo
c-vigo merged commit 22f846f into dev Apr 5, 2026
11 checks passed
@c-vigo
c-vigo deleted the bugfix/479-publish-candidate-create-release-input branch April 5, 2026 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant