Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
git-branch

GitHub Action

Azure DevOps ChatOps

v1.0.0-beta Pre-release

Azure DevOps ChatOps

git-branch

Azure DevOps ChatOps

Create a branch in Azure DevOps from GitHub and more via ChatOps! πŸš€

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Azure DevOps ChatOps

uses: philip-gai/github-ado-chatops@v1.0.0-beta

Learn more about this action in philip-gai/github-ado-chatops

Choose a version

Azure DevOps ChatOps - GitHub Action

Integrate GitHub with Azure DevOps via ChatOps! πŸš€

ADO.ChatOps.Demo.mov

ChatOp Commands

Command Aliases Description Options Context
/cb-ado /create-branch-ado Creates a branch in Azure DevOps using information from the issue.
Default: users/{githubUsername}/{issueNumber}-{issueName}-{issueTitle}.
  • -username: The username to use in your branch name.
    Default: GitHub username
  • -branch: The branch to branch from.
    Default: The default branch set in ADO
Issues

Getting Started

Prerequisites

  1. An Azure DevOps account and repository (Start one for free)

Usage

  1. Create a personal access token (PAT) for your ADO repository (Use personal access tokens)
  2. Create an encrypted secret named ADO_PAT in your GitHub repository with the ADO PAT token value (Creating encrypted secrets for a repository).
  3. Create a workflow file in your GitHub repo with the path .github/workflows/github-ado-chatops.yml with the following:
name: "Run Azure DevOps ChatOps"

on:
  issue_comment:
    types: [created]

permissions:
  issues: write

jobs:
  run-github-ado-chatops:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: philip-gai/github-ado-chatops
        with:
          ado_org: philip-gai
          ado_project: github-ado-chatops
          ado_repo: github-ado-chatops
          ado_pat: ${{ secrets.ADO_PAT }}
          github_token: ${{ secrets.GITHUB_TOKEN }}
  1. You can now use ADO ChatOps in your GitHub repo! πŸŽ‰πŸŽ‰πŸŽ‰

Feature Requests and Feedback

I would love to hear your feedback. Let me know if you've run into any bugs, or have any feature requests.

Feature Requests

  1. View enhancements and feature requests already in the backlog
  2. Create a feature request

Bugs

  1. View known issues
  2. Report a bug

Questions / Conversations

Do you have any questions? Want to just talk and ask me stuff?

  1. View Discussions
  2. Start a new discussion!