Enabling or disabling Dependabot on standard GitHub-hosted runners
You can configure Dependabot on standard GitHub-hosted runners:
If you restrict access to your organization's or repository's private resources, you may need to update your list of allowed IP addresses prior to enabling Dependabot on GitHub Actions runners. You can update your IP allow list to use the GitHub-hosted runners IP addresses (instead of the Dependabot IP addresses), sourced from the meta REST API endpoint.
Avertissement
You should not rely on the GitHub Actions IP addresses for authentication to private registries. These GitHub Actions addresses are not only used by GitHub, and should not be trusted for authentication. Instead, use a self-hosted runner to ensure greater control over your network access. For more information, see Configuring Dependabot on self-hosted runners.
For your repository
-
Sur GitHub, accédez à la page principale du référentiel.
-
Sous le nom de votre référentiel, cliquez sur Paramètres. Si vous ne voyez pas l’onglet « Paramètres », sélectionnez le menu déroulant , puis cliquez sur Paramètres.

-
Dans la section « Sécurité » de la barre latérale, cliquez sur Advanced Security.
-
Under "Dependabot", to the right of "Dependabot on Actions runners", click Enable to enable the feature or Disable to disable it.
Remarque
Dependabot on GitHub Actions relies on the
ubuntu-latestlabel to select the appropriate runner. To ensure Dependabot runs on GitHub-hosted runners, you should not use the labelubuntu-latestfor self-hosted runners.
For your organization
Only repositories meeting the following criteria will be updated to run Dependabot on GitHub Actions the next time a Dependabot job is triggered.
- Dependabot is enabled in the repository.
- GitHub Actions is enabled in the repository.
If a repository in your organization has Dependabot enabled but GitHub Actions disabled, Dependabot will not run on GitHub Actions, but will continue to run using the built-in Dependabot application.
-
Dans le coin supérieur droit de GitHub, cliquez sur votre photo de profil, puis sur Vos organisations.
-
En regard de l’organisation, cliquez sur Paramètres.
-
Dans la section « Sécurité » de la barre latérale, cliquez sur Advanced Security puis Paramètres globaux.
-
In the "Dependabot" section, next to "Runner type", confirm that you have selected "Standard GitHub runner". If not, click and update your configuration.
Remarque
Dependabot on GitHub Actions relies on the
ubuntu-latestlabel to select the appropriate runner. To ensure Dependabot runs on GitHub-hosted runners, you should not use the labelubuntu-latestfor self-hosted runners.
Enabling or disabling Dependabot on exécuteurs plus grands
If you run into Dependabot timeouts and out-of-memory errors, you may want to use exécuteurs plus grands, as you can configure these runners to have more resources. You can only enable exécuteurs plus grands for Dependabot for an organization.
-
Add a exécuteur plus grand to your organization and ensure the name specified is
dependabot. For more information, see Gestion des exécuteurs de plus grande taille. -
Opt in the organization to self-hosted runners. For more information, see Configuring Dependabot on self-hosted runners. This step is required, as it ensures that future Dependabot jobs will run on the larger GitHub-hosted runner that has the
dependabotname.Remarque
Dependabot on GitHub Actions relies on the
ubuntu-latestlabel to select the appropriate runner. To ensure Dependabot runs on GitHub-hosted runners, you should not use the labelubuntu-latestfor self-hosted runners.