linear-release-action can miss released work when the Linear issue is linked in the GitHub PR body, but the commit that lands on main does not include either the PR number or the Linear issue key in its commit message.
This causes release sync to omit work that was actually released, even though the PR is correctly linked to the Linear issue and that linkage is already understood by both GitHub and Linear.
Reproduction steps
- Create a PR targeting
main.
- Link a Linear issue in the PR body using a closing reference such as
Fixes ABC-123.
- Merge the PR so that the resulting commit on
main has a plain commit message that does not contain:
- a PR reference like
(#1234)
- the Linear issue key like
ABC-123
- Run
linear-release-action or linear-release sync as part of the deploy workflow.
- Observe that the release does not include the linked Linear issue.
Expected behavior
- If GitHub can associate the deployed commit with the merged PR, and that PR is linked to a Linear issue in the PR body, release sync should include that issue in the release.
linear-release-actioncan miss released work when the Linear issue is linked in the GitHub PR body, but the commit that lands onmaindoes not include either the PR number or the Linear issue key in its commit message.This causes release sync to omit work that was actually released, even though the PR is correctly linked to the Linear issue and that linkage is already understood by both GitHub and Linear.
Reproduction steps
main.Fixes ABC-123.mainhas a plain commit message that does not contain:(#1234)ABC-123linear-release-actionorlinear-release syncas part of the deploy workflow.Expected behavior