Skip to content

catalog: add publish-plan-task.yml (single-source release-gate decision) - #274

Merged
ptr727 merged 3 commits into
developfrom
feature/publish-plan-task
Jul 12, 2026
Merged

catalog: add publish-plan-task.yml (single-source release-gate decision)#274
ptr727 merged 3 commits into
developfrom
feature/publish-plan-task

Conversation

@ptr727

@ptr727 ptr727 commented Jul 10, 2026

Copy link
Copy Markdown
Owner

Adds the canonical reusable publish-plan-task.yml to the catalog. It computes the release-gate decision once from the triggering event_name/actor/ref_name and emits two outputs:

  • publishtrue for a bot-authored push (the codegen App merges every bot PR), a schedule, or a workflow_dispatch of main/develop; false for a human merge/promotion or a stray-branch dispatch.
  • stabletrue when the target branch is main; main-only jobs gate on publish && stable.

Every publish-release.yml job then gates on needs.plan.outputs.* instead of re-testing event/actor/branch across many jobs (WORKFLOW.md D2 "assert once at entry"). Consumed by the fleet gate PRs: LanguageTags #255, Utilities #388, aiopurpleair #26, NxWitness #494.

Follows the release-model reconciliation (docs rewrite + PUBLISH_ON_MERGE deletion still pending). Snippet is LF-pinned; README row added.

🤖 Generated with Claude Code

The canonical reusable task that computes the release-gate decision once
(publish? stable?) from the triggering event/actor/branch, so every
publish-release.yml job gates on its outputs instead of duplicating the
event/actor/branch test. A human PR merge never auto-publishes; only a bot
code-merge to main, a dispatch of main/develop, or the Docker schedule do.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 10, 2026 13:51
…ch serves Docker)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new canonical reusable workflow snippet to centralize the publish/release gating decision so downstream publish-release.yml jobs can gate on a single computed plan (publish + stable) instead of re-encoding event/actor/ref logic across multiple jobs.

Changes:

  • Add catalog/snippets/workflows/publish-plan-task.yml reusable workflow to compute publish and stable outputs based on event/actor/ref inputs.
  • Update the workflow-snippets index (catalog/snippets/workflows/README.md) to include the new task.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
catalog/snippets/workflows/README.md Documents the new publish-plan reusable task in the snippet catalog index.
catalog/snippets/workflows/publish-plan-task.yml Introduces the reusable “publish plan” task that emits publish and stable outputs for downstream job gating.

Comment thread catalog/snippets/workflows/publish-plan-task.yml
Copilot AI review requested due to automatic review settings July 10, 2026 13:55

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

Comment thread catalog/snippets/workflows/publish-plan-task.yml
Comment thread catalog/snippets/workflows/publish-plan-task.yml
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 10, 2026 13:59

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

@ptr727
ptr727 merged commit 2a4dca8 into develop Jul 12, 2026
7 checks passed
@ptr727
ptr727 deleted the feature/publish-plan-task branch July 12, 2026 04:44
ptr727 added a commit that referenced this pull request Jul 12, 2026
…rkflow comments (#286)

Forward promotion of #274 + #275 + #277 (and prior develop work). No
release.
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.

2 participants