Integrate GitHub Actions (GHA) with CloudBees Unify so that your GHA workflows and runs are visible in the CloudBees Unify UI. For background on how the integration works, refer to Understanding GitHub Actions integration.
To set up the integration:
-
Install the CloudBees GitHub App. For details, refer to GitHub integrations.
On occasion, new features in CloudBees Unify may require updates to permissions in the GitHub App for full functionality. Verify that the following permissions are set in the CloudBees GitHub App installation: Table 1. Installed GitHub App required permissions Read access Write access Key Actions
Commit statuses
Contents
Metadata
Events
Pull requests
Webhooks
-
Create a GHA workflow in the GitHub repository connected to CloudBees Unify, or confirm that an existing GHA workflow is in the connected repository.
Observe the following constraints when authoring or reviewing your GHA workflow: -
Do not include a forward slash with spaces on both sides (` /
) in a job name, for example `build / reusable-job / test. GHA reports job statuses for reusable workflows using this pattern to represent hierarchy. CloudBees Unify interprets any forward slash with spaces on both sides as indicating a reusable workflow job and does not correctly display Run details for that job.
-
-
Create a component connected to the repository that contains your GHA workflow.
Only GHA runs that occur after successful integration with CloudBees Unify are displayed.