Skip to content

ci/release: Sign off the dev and sync commits correctly - #49203

Merged
phlax merged 1 commit into
envoyproxy:mainfrom
phlax:ci-release-task-signoff
Nov 12, 2026
Merged

phlax merged 1 commit into
envoyproxy:mainfrom
phlax:ci-release-task-signoff

Conversation

@phlax

@phlax phlax commented Nov 12, 2026

Copy link
Copy Markdown
Member

The github/run action splits command on whitespace and does not parse it as shell, so the sync task's quoted --signoff="Name <email>" was cut in two, and the commit ended up with a malformed trailer (as on #48846):

Signed-off-by: "publish-envoy[bot]

Pass the signoff as an array from source, as the create-release task already does.

The reopen-branch (dev) task did not pass a signoff at all, so its commits had none. Give it the same one.

Tested on envoy-ci-staging: both tasks run with the new wiring and resolve the full signoff. Neither had anything to commit there (histories in sync, already on a dev version), so the argument handling was also checked by replaying the action's splitting against the old and new commands: the old one yields --signoff="publish-envoy[bot] and the email as two arguments, the new one a single --signoff=publish-envoy[bot] <...>.

Risk Level: low (release automation only)
Testing: as above
Docs Changes: n/a
Release Notes: n/a

The `github/run` action splits `command` on whitespace and does not
parse it as shell, so the sync task's quoted `--signoff="Name <email>"`
was cut in two and the commit ended up with a malformed trailer:

  Signed-off-by: "publish-envoy[bot]

Pass the signoff as an array from `source`, as the create-release task
already does.

The reopen-branch (`dev`) task did not pass a signoff at all, so its
commits had none. Give it the same one.

Signed-off-by: Ryan Northey <[email protected]>
@phlax
phlax requested a balanced review from Copilot November 12, 2026 09:35
phlax added a commit to phlax/envoy that referenced this pull request Nov 12, 2026
…9203)

The `github/run` action splits `command` on whitespace and does not
parse it as shell, so the sync task's quoted `--signoff="Name <email>"`
was cut in two and the commit ended up with a malformed trailer:

  Signed-off-by: "publish-envoy[bot]

Pass the signoff as an array from `source`, as the create-release task
already does.

The reopen-branch (`dev`) task did not pass a signoff at all, so its
commits had none. Give it the same one.

Backport note: picked from the pull request ahead of its merge to main.

Signed-off-by: Ryan Northey <[email protected]>

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.

🟢 Approval recommended

No active review issues are reported for the release-automation signoff changes.

No open issues 🎉

What changed in this PR

Updates release automation so sync and branch-reopening commits receive complete, correctly formatted signoff identities.

Changes:

  • Passes sync signoff arguments through a Bash array to preserve spaces.
  • Adds the same signoff to the dev task while preserving patch-version increments for release branches.
File Description
.github/​workflows/​_release_task.yml Uses sourced argument arrays and committer environment variables for sync and dev signoffs.

Review effort: Balanced

@phlax
phlax enabled auto-merge (squash) November 12, 2026 09:43
@phlax
phlax merged commit 1bd5656 into envoyproxy:main Nov 12, 2026
25 checks passed
phlax added a commit that referenced this pull request Nov 12, 2026
The `github/run` action splits `command` on whitespace and does not
parse it as shell, so the sync task's quoted `--signoff="Name <email>"`
was cut in two and the commit ended up with a malformed trailer:

  Signed-off-by: "publish-envoy[bot]

Pass the signoff as an array from `source`, as the create-release task
already does.

The reopen-branch (`dev`) task did not pass a signoff at all, so its
commits had none. Give it the same one.

Backport note: picked from the pull request ahead of its merge to main.

Signed-off-by: Ryan Northey <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants