In the docs, it mentions (at the bottom):
You can also use closing keywords in a commit message. The issue will be closed when you merge the commit into the default branch, but the pull request that contains the commit will not be listed as a linked pull request.
- Why is a commit message an exception?
- The issue title also seems to be an exception to this rule.
I tend to write commit messages like this:
fixes the broken thingy; closes #1234
When I open a PR for my branch, the title of the PR is automatically populated with the first line of my commit message.
But neither the title nor the commit actually performs the link, even though issue #1234 will be closed upon merge.
I imagine this can be worked around via a GitHub action, but I’m curious why the automatic linking behavior is only enabled for the PR description?