Skip to content

Commit

Permalink
Describe linked issues can use trailer syntax (#36607)
Browse files Browse the repository at this point in the history
Co-authored-by: Ben Ahmady <[email protected]>
  • Loading branch information
lumynou5 and subatoi authored Mar 4, 2025
1 parent 93b5ce9 commit b423415
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ Issue in the same repository | KEYWORD #ISSUE-NUMBER | `Closes #10`
Issue in a different repository | KEYWORD OWNER/REPOSITORY#ISSUE-NUMBER | `Fixes octo-org/octo-repo#100`
Multiple issues | Use full syntax for each issue | `Resolves #10, resolves #123, resolves octo-org/octo-repo#100`

The keywords can be followed by colons or in uppercase. For example: `Closes: #10`, `CLOSES #10`, or `CLOSES: #10`.

Only manually linked pull requests can be manually unlinked. To unlink an issue that you linked using a keyword, you must edit the pull request description to remove the keyword.

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.
Expand Down

0 comments on commit b423415

Please sign in to comment.