Skip to content

Files

Latest commit

 

History

History
59 lines (41 loc) · 5.5 KB

File metadata and controls

59 lines (41 loc) · 5.5 KB
title intro redirect_from allowTitleToDifferFromFilename versions topics shortTitle
Managing self-hosted runners for Dependabot updates on your enterprise
You can create dedicated runners for {% data variables.location.product_location %} that {% data variables.product.prodname_dependabot %} uses to create pull requests to help secure and maintain the dependencies used in repositories on your enterprise.
/admin/github-actions/enabling-github-actions-for-github-enterprise-server/setting-up-dependabot-updates
/admin/github-actions/enabling-github-actions-for-github-enterprise-server/managing-self-hosted-runners-for-dependabot-updates
true
ghes
*
Enterprise
Security
Dependabot
Dependencies
Dependabot updates

About self-hosted runners for {% data variables.product.prodname_dependabot_updates %}

You can help users of {% data variables.location.product_location %} to create and maintain secure code by setting up {% data variables.product.prodname_dependabot %} security and version updates. With {% data variables.product.prodname_dependabot_updates %}, developers can configure repositories so that their dependencies are updated and kept secure automatically. For more information, see AUTOTITLE.

To use {% data variables.product.prodname_dependabot_updates %} on {% data variables.location.product_location %}, you must configure self-hosted runners to create the pull requests that will update dependencies.

Prerequisites

Configuring self-hosted runners is only one step in the middle of the process for enabling {% data variables.product.prodname_dependabot_updates %}. There are several steps you must follow before these steps, including configuring {% data variables.location.product_location %} to use {% data variables.product.prodname_actions %} with self-hosted runners. For more information, see AUTOTITLE.

Configuring self-hosted runners for {% data variables.product.prodname_dependabot_updates %}

System requirements for {% data variables.product.prodname_dependabot %} runners

{% data reusables.dependabot.dependabot-runners-system-requirements %}

{% data reusables.dependabot.vnet-arc-note %}

Network requirements for {% data variables.product.prodname_dependabot %} runners

{% data reusables.dependabot.dependabot-runners-network-requirements %}

Certificate configuration for {% data variables.product.prodname_dependabot %} runners

If your {% data variables.product.prodname_ghe_server %} instance uses a self-signed certificate, or if {% data variables.product.prodname_dependabot %} needs to interact with registries that use self-signed certificates, those certificates must also be installed on the self-hosted runners that run {% data variables.product.prodname_dependabot %} jobs. This security hardens the connection. You must also configure Node.js to use the certificate, because most actions are written in JavaScript and run using Node.js, which does not use the operating system certificate store.

Adding self-hosted runners for {% data variables.product.prodname_dependabot %} updates

  1. Provision self-hosted runners, at the repository, organization, or enterprise account level. For more information, see AUTOTITLE and AUTOTITLE.

  2. Set up the self-hosted runners with the requirements described above. For example, on a VM running Ubuntu 20.04 you would:

    • Install Docker and ensure that the runner users have access to Docker. For more information, see the Docker documentation.
    • Verify that the runners have access to the public internet and can only access the internal networks that {% data variables.product.prodname_dependabot %} needs.
    • Install any self-signed certificates for your {% data variables.product.prodname_ghe_server %} instance or for registries that {% data variables.product.prodname_dependabot %} will need to interact with.
      • Configure Node.js to use the same certificate. For more information, see AUTOTITLE.
  3. Assign a dependabot label to each runner you want {% data variables.product.prodname_dependabot %} to use. For more information, see AUTOTITLE.

  4. Optionally, enable workflows triggered by {% data variables.product.prodname_dependabot %} to use more than read-only permissions and to have access to any secrets that are normally available. For more information, see AUTOTITLE.