Integrate GitHub with Azure DevOps via ChatOps! 🚀
Command | Aliases | Description | Options | Context |
---|---|---|---|---|
/cb-ado |
/create-branch-ado |
Creates a branch in Azure DevOps using information from the issue. Default: feature/{issueNumber}-{issueName}-{issueTitle} . |
|
Issues |
- An Azure DevOps account and repository (Start one for free)
- Create a personal access token (PAT) for your ADO repository (Use personal access tokens)
- Scopes: Custom Defined - Code (Read & Write)
- Create an encrypted secret named
ADO_PAT
in your GitHub repository with the ADO PAT token value (Creating encrypted secrets for a repository). - Create a workflow file in your GitHub repo with the path
.github/workflows/ado-chatops.yml
by following this example, updating the input parameters with your relevant ADO repo information. - You can now use ADO ChatOps in your GitHub repo! 🎉🎉🎉
- Test it out! On any Issue, try the
/cb-ado
command and enjoy 😍
You can view the inputs defined in action.yml
Add these to your workflow file under the with
section.
- Set a secret in your repo named
ACTIONS_STEP_DEBUG
totrue
to get debug logging (Reference)
I would love to hear your feedback. Let me know if you've run into any bugs, or have any feature requests.
Do you have any questions? Want to just talk and ask me stuff?
Check out the Contributing Guide.
MIT © 2021 Philip Gai [email protected]