Learn how to integrate GitHub Actions in DevOps Intelligence.
GitHub Actions enables the automation of various tasks and processes in their software development workflows providing insights into various aspects of the development process. Developers can define custom workflows using YAML syntax, which can be triggered by events such as code pushes, pull requests, or scheduled intervals. DI captures all workflows in Github Actions as builds and retrieve them in the Build page of DevOps Intelligence.
Integration of GitHub Actions in DevOps Intelligence
DevOps Intelligence pulls data from GitHub Actions such as build details, including its unique identifier, status, time stamp, duration, and cause. Use the following procedure to onboard GitHub Actions.
Create a Personal Access token (PAT) to authenticate GitHub services to access resources:
From GitHub homepage, go to User Settings, select Developer settings and then Personal Access Tokens. Select Generate new token and make sure the token has read permissionson the organization/ repo.
Create a GitHub Actions connection using the PAT previously created. For additional details, refer to the connection page.
From DevOps Intelligence, go to
Settings & Utilities
. Select
Tools Configuration
Select
Add Configuration
and complete corresponding information:
Tool engine: Select GitHub actions from the dropdown menu.
Connection: Select the connection from the dropdown menu.
Organization: Select your project from the dropdown menu.
Repository name: Select your repository name from the dropdown menu.
Additional configurations: Customize the terminologies that will display DevOps Intelligence dashboards for
Passed
,
Failed
and
In Progress
statuses.
Click
Add Configuration
.
The successful configuration will be displayed in the configuration table. For additional information, refer to the module page..