Github
How can you use Kubiya to trigger pull request, merge branch, provide repo access or check the status of a pull request
What is Bitbucket
GitHub is a code hosting platform for version control and collaboration. It lets teams work together on projects from anywhere. GitHub serves as a location for uploading copies of a Git repository.
Things you can do using Kubiya
- Create pull requests
- Merge branch
- Provide Git repository access
- Revoke Git repository access
- Check the status of a pull request
How to Integrate Github to Kubiya
Example
Get pull request status

Action store reference
Reach out to your Kubiya engineer for a complete list of actions.
Sample actions
build_job(params: dict)
This function is used to trigger a build for a Jenkins job. It makes an API call to the Jenkins endpoint for building the specified job. The function takes the job name as a parameter and optionally additional parameters for parameterized jobs. It returns a message indicating the job name and the provided parameters.
Parameters:
params (dict): A dictionary containing the following keys:
'job_name' (required): The name of the Jenkins job to be built.
Additional parameters for parameterized jobs (optional).
get_jenkins_logs(params: dict)
This function is used to retrieve the console logs of a Jenkins job. It makes an API call to the Jenkins endpoint for retrieving the console text of the specified job. The function takes the job name and the Jenkins build number as parameters. It returns the console logs as a response.
Parameters:
params (dict): A dictionary containing the following keys:
'job_name' (required): The name of the Jenkins job.
'jenkins_number' (required): The build number of the Jenkins job.
Last modified 4mo ago