Connect to GitHub Actions
After you use a personal access token to connect GitHub Actions workflows to a Digital Employee, conversations and long-running tasks can access these workflows within the selected scope.
Prerequisites
-
A Digital Employee has been created.
-
A fine-grained PAT or classic PAT is ready, and the token has permissions to access the target organization, code repositories, and Actions workflows.
Procedure
1. Open Pipeline
Click Settings > Connectors > Pipeline.
2. Select GitHub Actions
-
Click Add pipeline.
-
Select GitHub Actions.
-
Click Next.
3. Enter connector information
-
Connector ID: Uniquely identifies the connector and cannot be modified after creation. Rules: 1 to 64 characters, consisting of only lowercase letters, digits, and hyphens, starting with a letter and ending with a letter or digit.
-
Name: Used to distinguish connections in the list.
4. Configure credentials
-
Enter the personal access token (PAT).
-
Click Verify token. After verification succeeds, the page displays the current GitHub account.
A saved token is not displayed again. You must re-enter the PAT when you verify again.
5. Select a group
In the Organization step, select your personal account, or select a member organization visible to this PAT. You can also search for an organization name and add it.
Search results may include organizations you are not a member of. Access permissions are verified again when code repositories are loaded.
6. Select Actions workflows
-
Click Load workflows on the target code repository.
-
Select the Actions workflows that this connector is allowed to access.
-
After you confirm, click Next.
If no workflow is found in the code repository, check whether a workflow file already exists in the repository and whether the PAT has read permissions.
7. Configure data modeling
-
Basic modeling: Always on. After the connector is created, the selected Actions workflows and their basic relationships are modeled.
-
Agentic relationship exploration: Optional. After basic modeling, it explores cross-source relationships with applications, infrastructure, observable data, and more. Modeling starts conversations and is billed based on actual usage.
8. Check and save
In Check and add, verify the connector, organization, and the number of selected resources. Then click Save.
After you save, the system checks the connection status. The connector appears in the Pipeline list.
Verification
We recommend that you verify whether the connector is added successfully as follows:
-
In the Pipeline list, the connector's name, type (GitHub Actions), status (Succeeded), group, and number of selected resources are consistent with what you configured.
-
Open the details and verify the organization and the selected workflows.
FAQ
GitHub rejected the token
Check the token content, whether it has expired, and whether it has access permissions to the target organization and Actions.
Unable to read organization membership
Make sure the PAT has the read:org permission, or search for the organization manually instead.
No workflow is found in the code repository
Make sure a workflow file already exists in the repository, and click Load workflows again.
The connector status is Failed
You can recheck the connection status. If it still fails, delete the connector and create a new one.