Skip to main content

Viewing Dependabot job logs

To support debugging of Dependabot pull requests, GitHub provides logs of all Dependabot jobs.

谁可以使用此功能?

具有写入访问权限的用户

About Dependabot job logs

Job logs are only available if Dependabot version updates are enabled for the repository.

Whenever a Dependabot job runs, the details of the job are captured in the job logs list, which is accessible from the dependency graph.

For each manifest file, the job logs record the most recent runs of Dependabot, with each log entry displaying the job type, job ID, timestamp, and, where necessary, a link to the pull request(s) associated with the job.

You may find that the log entry contains a short error message, which can be useful for debugging issues with a particular pull request or run. If you need to troubleshoot further, you can click view logs to access the full log files for a specific run.

You will see the following job types recorded in the log list:

  • Version update - refers to a Dependabot version updates run.
  • Security update - refers to a Dependabot security updates run.
  • Rebase update - refers to a run where Dependabot has automatically rebased the pull request to resolve a conflict with the target branch. This update could apply to a pull request from a Dependabot version updates job, or a Dependabot security updates job.

Viewing Dependabot job logs

The Dependabot job logs list is accessible from the dependency graph tab in your repository.

  1. 在 GitHub 上,导航到存储库的主页面。

  2. 在存储库名称下,单击 “见解”。

    存储库的主页的屏幕截图。 在水平导航栏中,标有图形图标和“见解”的选项卡以深橙色标出。

  3. 在左侧边栏中,单击“依赖项关系图”。

    “依赖项关系图”选项卡的屏幕截图。选项卡以橙色边框突出显示。

  4. 在“依赖项关系图”下,单击“Dependabot”。

  5. To the right of the name of manifest file that you're interested in, click Recent update jobs.

  6. Optionally, to see the full logs files for a particular job, click view logs.

    Screenshot of a Dependabot job log entry for the Gemfile package manager. A button, called "View logs", is highlighted in a dark orange outline.