+ Install a GitHub App above to change the workspace connection. Task access can be + saved after the installation finishes. +
+ )} ++ {resource.label}:{" "} + {snapshot.remaining.toLocaleString("en-US")} of {limit} {resource.unit} remaining {reset ? ` · resets ${reset}` : ""} -
+ ); })}- {appAutomation - ? `Kandev-managed operations use the GitHub App installed for ${actor}.` - : `Kandev-managed operations act as ${actor}.`} -
++ {appAutomation + ? `Kandev-managed operations use the GitHub App installed for ${actor}.` + : `Kandev-managed operations act as ${actor}.`} +
+ {!appAutomation && humanIdentity && ( +This account also powers My GitHub and user-triggered actions.
+ )} +- This account also powers My GitHub and user-triggered actions. -
- ); -} - function AutomationError({ status }: { status: GitHubStatus }) { if (!status.automation?.last_error) return null; return{status.automation.last_error}
; @@ -177,17 +191,24 @@ function AutomationActions({ busy, onDisconnect, onRefresh, + taskAccess, }: { status: GitHubStatus; workspaceId: string; busy: boolean; onDisconnect: () => void; onRefresh: () => void; + taskAccess: TaskGitCredentialsState; }) { return (- A separate personal identity is only needed when workspace automation uses a GitHub App. -
-+ Choose how newly launched tasks authenticate to GitHub. This does not change the workspace + automation connection above. +
++ An executor-profile GH_TOKEN or GITHUB_TOKEN overrides managed workspace credentials for + that task. +
+ {taskAccess.error && ( +Unable to load the current task access setting.
)} -- An executor-profile GH_TOKEN or GITHUB_TOKEN overrides managed workspace credentials for - that task. -
-