Back to QMetry All Products Help Page
GitHub Actions
Starting March 2026 with QMetry Test Management version 8.25.0, the documentation was migrated from Atlassian to a dedicated, standalone QMetry Test Management documentation site. For the latest updates, refer to GitHub Actions.
Prerequisite
The yml file should have been created in the main branch in GitHub.
Generate Personal Authentication Token
Follow the steps mentioned below to generate a token in GitHub.
1. Log into GitHub.
2. Go to User Profile > Settings.
3. Click on the Developer Settings on the navigation bar at the left.
4. Click on Tokens (classic).
5. Click on the Generate new token button.
Define the Scopes to grant access to personal tokens, then generate the token.
Supply the Authorization header as per the following format:
Authorization: Bearer <GITHUB_ACCESS_TOKEN>Example:
Authorization:
Bearer ghp_k23454fhbedrkBK4vGHI09HMI0mYAebAl6s4QdnkJ
Construct the URL
The following is an example of constructing the URL to trigger a build in GitHub.
https://api.github.com/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches
Here, the placeholder's values are as below.
owner=Lizamathew
repo=parameter
workflow_id= 54649623
Hence, the URL to trigger the build would be -
https://api.github.com/repos/Llizamathew/parameter/actions/workflows/54649623/dispatches
Reference Required Headers Parameters
Authorization: Bearer ghp_xxxxxxxxxxxxx
Accept: application/vnd.github+json
Content-Type: application/vnd.github+json or application/json
X-GitHub-Api-Version: 2022-11-28CI/CD Rule Configuration in QTM
The following are examples of triggering the build without parameters and with query parameters.
CI/CD Rule Without Query Parameters
CI/CD Rule With RAW Parameters