About auto-closing issues
By default, merging a linked pull request automatically closes the associated issue. You can override the default behavior by disabling auto-closing.
Enabling or disabling auto-closing of issues
-
在 GitHub 上,导航到存储库的主页面。
-
在存储库名称下,单击 “设置”。 如果看不到“设置”选项卡,请选择“”下拉菜单,然后单击“设置”。
-
Under General, scroll down to the Issues section.
-
Select or deselect Auto-close issues with merged linked pull requests to enable or disable auto-closing.