Skip to content

Give the release sync pull request an issue section - #773

Merged
rocklambros merged 1 commit into
integrationfrom
fix/sync-pr-issue-section
Dec 3, 2026
Merged

rocklambros merged 1 commit into
integrationfrom
fix/sync-pr-issue-section

Conversation

@rocklambros

Copy link
Copy Markdown
Collaborator

What changed

The closing-choice check requires a "Which issue does this implement" section in every pull request description, and it exempts only the old sync pull request from main. PR #734, the first sync from integration into release/0.2, failed it because sync-release.yml wrote its description without that section. The workflow's description now carries the section and says the sync implements no issue of its own, since each change names its issues in the pull request that landed it on integration. PR #734's description has been edited the same way, and its check passes.

A new test runs the workflow's description through tools/closing_choice.py. The existing test that reads the fake gh log now finds the pr create call anywhere in the log, because the description spans several lines.

Which issue does this implement

None. This fixes a failing check on PR #734 (sync release/0.2 from integration).

  • This is an editorial correction (typo, grammar, link, formatting) with no change in
    meaning, so it needs no issue

Base branch

  • integration. Every pull request targets integration, documentation included.
    Only a promotion targets main (see CONTRIBUTING.md)
  • release/0.2, because this changes normative specification text, a schema, or a
    conformance requirement for 0.2, or carries out such a change in code

Type of change

  • Specification change (schema, hooks, events, AgBOM)
  • Reference implementation or adapter
  • Documentation
  • Tooling or CI
  • Governance (licensing, security policy, contributor docs)

I tested this

  • I synced my branch with the base branch before opening this
  • uv run pytest -v passes on my machine
  • uv run mkdocs build --strict passes on my machine

I ran tests/test_sync_release_workflow.py and the closing-choice tests (92 pass), not the full suite. No docs changed. zizmor reports no findings in sync-release.yml.

Checklist

  • Commits are signed off with git commit -s (required by the DCO)
  • Prose follows STYLE.md
  • No secrets, tokens, or internal URLs in the diff

Security

  • This change has no security impact

The closing-choice check requires a "Which issue does this implement"
section and exempts only the old sync from main. PR #734, the first sync
from integration into release/0.2, failed it. The workflow's description
now carries the section and says the sync implements no issue of its own.
A test runs that description through the check.

Signed-off-by: Rock Lambros <rock@rockcyber.com>
@rocklambros
rocklambros merged commit fc8501f into integration Dec 3, 2026
9 of 10 checks passed
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