github 上的 "bot account" 是什么?

What is a "bot account" on github?

我正在阅读一些 docs,其中讨论了如何在 GitHub 上针对特定回购进行身份验证。他们说 "You'll likely want to use a bot account for this."(文档由 Github 员工编写)。什么是机器人账户?我如何获得一个?

看这一段,“User Accounts / What's the difference between user and organization accounts?

User accounts are intended for humans, but you can give one to a robot, such as a continuous integration bot, if necessary.

换句话说,"User account"可以用于"person"(正常情况),但也可以用于自动化过程("bot")。

这正是 Benbalter 在您上面引用的 Change Agent 项目中使用 GitHub 的方式。

问:如何获得?

A:"bot account" 只是另一个 Github 用户帐户。您可以像创建任何其他 Github 用户帐户一样创建它。

在 github 的服务条款的 Account Requirements 部分有一个 machine account 的定义:

We do permit machine accounts:

A machine account is an account set up by an individual human who accepts the Terms on behalf of the account, provides a valid email address, and is responsible for its actions. A machine account is used exclusively for performing automated tasks. Multiple users may direct the actions of a machine account, but the owner of the account is ultimately responsible for the machine's actions. You may maintain no more than one free machine account in addition to your free personal account.

简单地说,您可以拥有普通 "human" 帐户和一个额外的 "machine" 帐户来执行自动化任务。