Cloud Services

DevOps Intelligence

GitHub Actions configuration
Published On Sep 04, 2024 - 12:40 PM

GitHub Actions configuration

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.
  1. 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.
  2. Create a GitHub Actions connection using the PAT previously created. For additional details, refer to the connection page.
  3. From DevOps Intelligence, go to
    Settings & Utilities
    . Select
    Tools Configuration
  4. Select
    Add Configuration
    and complete corresponding information:
    1. Tool engine: Select GitHub actions from the dropdown menu.
    2. Connection: Select the connection from the dropdown menu.
    3. Organization: Select your project from the dropdown menu.
    4. Repository name: Select your repository name from the dropdown menu.
    5. Additional configurations: Customize the terminologies that will display DevOps Intelligence dashboards for
      Passed
      ,
      Failed
      and
      In Progress
      statuses.
  5. Click
    Add Configuration
    .
The successful configuration will be displayed in the configuration table. For additional information, refer to the module page..
Do you have two minutes for a quick survey?
Take Survey