From ca4b0f8a66e4337f9909c6ea0b83522df8296333 Mon Sep 17 00:00:00 2001 From: smarcet Date: Tue, 24 Nov 2026 16:25:23 -0300 Subject: [PATCH 1/2] fix(release): create the release as a draft before filling the patch record gh release create publishes the release right away, so the patch record showed the placeholders, and "CVEs and advisories addressed: none", until someone edited it. The template now creates a draft, to be published once the fields are filled in. --- .github/RELEASE_NOTES_TEMPLATE.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/RELEASE_NOTES_TEMPLATE.md b/.github/RELEASE_NOTES_TEMPLATE.md index 5aba9db5..19a5204e 100644 --- a/.github/RELEASE_NOTES_TEMPLATE.md +++ b/.github/RELEASE_NOTES_TEMPLATE.md @@ -1,9 +1,9 @@ From 9d688ee214e44703995ecf6ed8c00aa6e1d559d4 Mon Sep 17 00:00:00 2001 From: smarcet Date: Tue, 1 Dec 2026 12:50:46 -0300 Subject: [PATCH 2/2] chore(ci): draft the release when a vX.Y.Z tag is pushed on production Add release-draft.yml: on a vX.Y.Z tag on a commit of production it runs the unit tests and creates the release as a draft, with generated notes and the patch record template, as base-api-utils, ftn-audit and the FN Django services do. pull_request_unit_tests.yml gets a workflow_call trigger so the release workflow can run it, and the template comment describes the workflow. --- .github/RELEASE_NOTES_TEMPLATE.md | 6 ++- .github/workflows/pull_request_unit_tests.yml | 1 + .github/workflows/release-draft.yml | 49 +++++++++++++++++++ 3 files changed, 55 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/release-draft.yml diff --git a/.github/RELEASE_NOTES_TEMPLATE.md b/.github/RELEASE_NOTES_TEMPLATE.md index 19a5204e..45f9ebaf 100644 --- a/.github/RELEASE_NOTES_TEMPLATE.md +++ b/.github/RELEASE_NOTES_TEMPLATE.md @@ -1,5 +1,9 @@