You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Reconcile WORKFLOW.md and the workflows with the hub contract - #175
Reconciles WORKFLOW.md and the two workflows it describes with hub main0c93369 (audit run 2026-10-12T16:05:03Z | hub 0c933694).
WORKFLOW.md: a three-way merge from the hub revision the copy last matched. This repo's adaptation sentences are re-attached to D1.1, D1.2, D1.4, D1.5, D4.1 and the S1, S5, S6 and S7 scenario rows, each checked against the YAML.
test-pull-request.yml: the smoke-build filter becomes an inclusion list, which the new D1.1 requires. The list covers what the publish and Docker build read: PhotoCleaner/**, Docker/Dockerfile, the shared build props, global.json, version.json, .editorconfig, .dockerignore, and .github/actions/**, where the hub tasks look for caller hooks. A pull request touching only workflows, docs or tests now skips the smoke build. Before, only a workflow-only change did.
publish-release.yml: the concurrency group becomes ref-scoped per D7.1, with its rationale in a header comment. A develop and a main publish can now run side by side. Their Docker tags, build caches and releases are already per-branch, so the two runs do not overlap.
publish-release.yml calls the hub's publish-docker-readme-task.yml after a successful publish, pushing Docker/README.md to Docker Hub on main only. The repo's own Docker task did this before it adopted the hub release chain, and the hub's build-release task never has, so the Docker Hub overview has not updated since that adoption.
Every hub task reference (validate, build-release, publish-plan, merge-bot, docker-readme) is pinned to hub main0c93369 and annotated # 2.0.983, so the workflows run the contract this document describes. The tasks' workflow_call inputs and secrets are unchanged between the two pins.
The GOVERNANCE.md "Workflow YAML Conventions" exception describing the publisher's group as global is replaced by the hub's ref-scoped wording in #173, so merge that one first.
The comments label covers the restored concurrency rationale.
Three-way merge of WORKFLOW.md from hub 67731c4 to hub main 0c93369,
keeping this repo's adaptations for its single combined target and its
publisher with no push trigger. The smoke-build paths filter becomes an
inclusion list per D1.1 and D1.4, and the publisher's concurrency group
becomes ref-scoped per D7.1.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…tionale
The hub build tasks run a caller hook under .github/actions/ in place of
their default step, so a change there now runs the smoke build. Only the
Dockerfile under Docker/ feeds the image, so Docker/README.md no longer
triggers it. The publisher's concurrency exception keeps its rationale
in a header comment, as GOVERNANCE.md Workflow YAML Conventions asks.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
WORKFLOW.md now describes hub main at 0c93369, so the callers run that
revision's validator, plan, build-release, and merge-bot tasks. Their
workflow_call inputs and secrets are unchanged between the two pins.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
[P2] Record the release tag for the pinned task. @0c933694 is the hub 2.0.983 revision described by this PR, but # main promotion is not a release-tag annotation, so this caller does not satisfy D9.1 and the pin's provenance is ambiguous. Change the suffix to # 2.0.983.
This issue also appears in the following locations of the same file:
line 47
line 60
Annotate pinned task with release tag
.github/workflows/test-pull-request.yml:53
[P2] Record the release tag for the pinned task. @0c933694 is the hub 2.0.983 revision described by this PR, but # main promotion is not a release-tag annotation, so this caller does not satisfy D9.1 and the pin's provenance is ambiguous. Change the suffix to # 2.0.983.
This issue also appears on line 66 of the same file.
The local build-docker task this repo carried before adopting the hub
release chain pushed Docker/README.md to Docker Hub, and the hub's
build-release task never did, so the overview stopped updating. The
publisher now calls the hub's publish-docker-readme task after a
successful publish, which pushes only on main.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Previously missed (2): "Annotate pinned task with release tag", publish-release.yml:35 (also 47, 60) and test-pull-request.yml:53 (also 66). Fixed in 170a746: all six hub task pins now carry # 2.0.983, the tag ptr727/ProjectTemplate publishes at 0c933694.
Headline on 170a746 (no counted finding), part 1: "The release documentation requires a Docker Hub README publish path."Fixed in dad9792. The finding is real and predates this pull request. The local build-docker-task.yml this repo carried before it adopted the hub release chain pushed Docker/README.md to Docker Hub. The hub's build-release-task.yml has never held that step: at both the old and the new pin, git grep dockerhub-description over the hub's workflows matches only publish-docker-readme-task.yml. So the overview has not been updated since that adoption. publish-release.yml now calls publish-docker-readme-task.yml after a successful publish, with repositories: '["ptr727/photocleaner"]'. The task pushes only when branch is main.
Headline on 170a746, part 2: "the smoke-build filter is broader than the build hooks."No change needed. .github/actions/** is the entry the hub's release-with-smoke stub in docs/reusable-workflows.md lists. Narrowing it to the two hooks the pinned build tasks read today, dotnet-publish and docker-prepare, would silently skip the smoke build for any hook a later hub task adds. The cost of the broader match is one extra smoke run when the validate or docker-readme-transform hook changes, which no file in this repo does yet.
The pinned hub build tasks run four caller hooks for a dotnet-publish and
Docker target in place of their defaults, so only those four trigger the
smoke build, and a validate or readme hook change no longer does.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Answer to the headline on dad9792 (#175 (review)), which counts no finding: "The smoke-build filter includes hooks not consumed by the build task, causing unnecessary builds."
Fixed in 36a3f78. This is the second round to raise it after my earlier decline, so I took the recurrence as the signal to change the filter rather than argue it again. The release entry now lists only the four caller hooks the pinned hub build tasks run for a dotnet-publish and Docker target in place of their defaults: dotnet-publish, docker-prepare, docker-build-base and build-release-asset, found by grepping the tasks' hashFiles('.github/actions/...') checks at 0c933694. The build-nuget and build-pypi hooks belong to targets this repo does not enable. The WORKFLOW.md D1.1 adaptation sentence names the same four.
Answer to the headline on 36a3f78 (#175 (review)), which counts no finding: "Workflow changes and the smoke-build filtering concern warrant final human review."
Awaiting maintainer. The headline names no defect. The filter concern it refers to is the one fixed in 36a3f78. The final human review it asks for is the maintainer's merge decision, which this pull request goes to next with the full change list in its description.
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
commentsPermits the comment lines the pull request adds or edits, which the prose gate otherwise refuses
2 participants
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.
Reconciles
WORKFLOW.mdand the two workflows it describes with hubmain0c93369(audit run 2026-10-12T16:05:03Z | hub 0c933694).WORKFLOW.md: a three-way merge from the hub revision the copy last matched. This repo's adaptation sentences are re-attached to D1.1, D1.2, D1.4, D1.5, D4.1 and the S1, S5, S6 and S7 scenario rows, each checked against the YAML.test-pull-request.yml: the smoke-build filter becomes an inclusion list, which the new D1.1 requires. The list covers what the publish and Docker build read:PhotoCleaner/**,Docker/Dockerfile, the shared build props,global.json,version.json,.editorconfig,.dockerignore, and.github/actions/**, where the hub tasks look for caller hooks. A pull request touching only workflows, docs or tests now skips the smoke build. Before, only a workflow-only change did.publish-release.yml: the concurrency group becomes ref-scoped per D7.1, with its rationale in a header comment. Adevelopand amainpublish can now run side by side. Their Docker tags, build caches and releases are already per-branch, so the two runs do not overlap.publish-release.ymlcalls the hub'spublish-docker-readme-task.ymlafter a successful publish, pushingDocker/README.mdto Docker Hub onmainonly. The repo's own Docker task did this before it adopted the hub release chain, and the hub's build-release task never has, so the Docker Hub overview has not updated since that adoption.Every hub task reference (validate, build-release, publish-plan, merge-bot, docker-readme) is pinned to hub
main0c93369and annotated# 2.0.983, so the workflows run the contract this document describes. The tasks'workflow_callinputs and secrets are unchanged between the two pins.The
GOVERNANCE.md"Workflow YAML Conventions" exception describing the publisher's group as global is replaced by the hub's ref-scoped wording in #173, so merge that one first.The
commentslabel covers the restored concurrency rationale.🤖 Generated with Claude Code