From 3af5581d7335d32a29cfdcbf4540092c0a33e2b9 Mon Sep 17 00:00:00 2001 From: Patrick Brosset Date: Mon, 9 Oct 2023 12:00:03 +0200 Subject: [PATCH] New workflow to sync issues to ADO --- .github/workflows/ado-issue-tracker.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/ado-issue-tracker.yaml diff --git a/.github/workflows/ado-issue-tracker.yaml b/.github/workflows/ado-issue-tracker.yaml new file mode 100644 index 0000000..18251f1 --- /dev/null +++ b/.github/workflows/ado-issue-tracker.yaml @@ -0,0 +1,23 @@ +# This workflow is used to auto-create ADO work items when issues are labeled with 'tracked'. + +name: Sync issue to Azure DevOps work item + +on: + issues: + types: + [labeled] + +jobs: + sync: + runs-on: ubuntu-latest + steps: + - uses: MicrosoftEdge/action-issue-to-workitem@main + env: + ado_token: "${{ secrets.ADO_PERSONAL_ACCESS_TOKEN }}" + github_token: "${{ secrets.GITHUB_TOKEN }}" + with: + label: 'tracked' + ado_organization: 'microsoft' + ado_project: 'Edge' + ado_tags: 'DevToolsGitHubSync' + ado_area_path: 'Edge\Web Experience\Developer Tools'