Skip to main content

Managing the automatic closing of issues in your repository

You can select whether merged linked pull requests will auto-close your issues.

Qui peut utiliser cette fonctionnalité ?

Repository administrators and maintainers can configure the automating closing of issues in the repository, once related pull requests are merged.

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

  1. Sur GitHub, accédez à la page principale du référentiel.

  2. Sous le nom de votre dépôt, cliquez sur Paramètres. Si vous ne voyez pas l’onglet « Paramètres », sélectionnez le menu déroulant , puis cliquez sur Paramètres.

    Capture d’écran d’un en-tête de dépôt montrant les onglets. L’onglet « Paramètres » est mis en évidence avec un encadré orange foncé.

  3. Under General, scroll down to the Issues section.

  4. Select or deselect Auto-close issues with merged linked pull requests to enable or disable auto-closing.