Skip to content

nightly: include version bump and diff summary in "update tend workflows" PR body #313

Closed

Description

@worktrunk-bot

Requested via max-sixty/worktrunk#2302 — the automated chore: update tend workflows PRs currently have a generic body:

Automated nightly regeneration of tend workflow files.

Maintainers have to open the diff to see what actually changed (e.g. which uvx tend@… version was pinned, which workflow files moved). Ask: include the version bump and a short summary of the diff in the PR title/body.

Proposed change

In plugins/tend-ci-runner/skills/nightly/SKILL.md, Step 6 — after uvx tend@latest init runs but before gh pr create:

  1. Detect the old vs. new pinned tend version from the workflow YAML (e.g. uvx [email protected] or a tend==X.Y.Z marker) — compare HEAD's workflows against the regenerated ones.
  2. Capture git diff --stat .github/workflows (filenames + line counts) for the body.
  3. Optionally list per-file section headers touched (jobs added/removed) if cheap to derive — otherwise stick to --stat.

Render the PR like:

Title: chore: update tend workflows (0.1.0 → 0.1.3)

Body:
Automated nightly regeneration of tend workflow files.

**tend version:** 0.1.0 → 0.1.3

**Changed files:**
\`\`\`
 .github/workflows/tend-nightly.yaml   | 4 ++--
 .github/workflows/tend-review.yaml    | 2 +-
 .github/workflows/tend-triage.yaml    | 6 ++++--
 3 files changed, 7 insertions(+), 5 deletions(-)
\`\`\`

If version detection fails (grep finds nothing, or no version pin in the template), fall back to omitting the version line rather than printing unknown → unknown.

Notes

  • Keep the title under the 70-char guideline in the CLAUDE.md style — chore: update tend workflows (X → Y) is fine.
  • Title without versions when the only change is non-version (e.g. a template tweak at the same pinned version) — e.g. chore: update tend workflows.

Activity

  1. tend-agent commented on Apr 19, 2026

    @tend-agent
    Collaborator

    Thanks for the suggestion! I searched the codebase and confirmed this isn't implemented — Step 6 of plugins/tend-ci-runner/skills/nightly/SKILL.md currently hardcodes the title chore: update tend workflows and the body Automated nightly regeneration of tend workflow files. with no version detection or diff summary.

    I'll leave it for a maintainer to evaluate and prioritize.

  2. max-sixty commented on Apr 19, 2026

    @max-sixty
    Owner

    yes please implement

  3. tend-agent commented on Apr 19, 2026

    @tend-agent
    Collaborator

    Opened #314.

  4. added a commit that references this issue on Apr 19, 2026
    56236f7
  5. added a commit that references this issue on Apr 19, 2026
    8563ce2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions