Skip to main content
Service accounts run automations independently of individual users. Commits, PRs, and comments appear under the service account identity, clearly separating automation work from human work. For creating and managing service accounts, see Service accounts.

When to use

ScenarioUse
PR triggers, scheduled jobs, shared ownershipService account
Personal workflows, one-time tasks, testingYour user account

Configuration

  1. In Run as, select the service account
  2. Ensure Git authentication is configured
  3. Save the automation
Automation Run as dropdown showing available service accounts to select

Selecting a service account

Requirements

  • Service account created with Git authentication
  • PAT with required scopes (repo, read:user, user:email, workflow for GitHub)
  • Access to target repositories
GitLab: If your organization requires verified emails for commits, GitLab service accounts won’t work. Use a PAT from a dedicated real GitLab user with a verified company email. See GitLab limitations.

Troubleshooting

IssueCheck
Authentication errorsPAT valid? Correct scopes?
Service account not in dropdownPermissions to view? Account created?
Permission denied on repoPAT has repo access? Write scopes?
See Service accounts troubleshooting for more.