Skip to content

Require Successful Validation Before Source Publish #842

Description

@ptr727

Finding

The source-only publish-release.yml caller gates publish only on the plan output:

needs: [plan, validate]
if: ${{ needs.plan.outputs.publish == 'true' }}

A job-level if replaces the implicit success gate. The job waits for validate, but it can still run after validation fails.

Expected

Publishing requires both a positive plan and successful validation. Encode the success condition in the canonical workflow and validate the fail-closed path.

Evidence

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions