-
Notifications
You must be signed in to change notification settings - Fork 63
46 lines (42 loc) · 1.29 KB
/
syncAdo.yml
File metadata and controls
46 lines (42 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Sync ADO Issue
on:
issues:
types: [labeled, closed, reopened]
permissions:
id-token: write
contents: read
issues: write
jobs:
alert:
runs-on: windows-latest
name: Syncing to Azure DevOps
steps:
- name: Azure login
uses: azure/login@v2
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
- name: Sync tracked bugs to ADO
uses: Navdeep-ss/github-actions-issue-to-work-item@simple-sync-azurecli
env:
github_token: "${{ secrets.GITHUB_TOKEN }}"
with:
label: 'tracked'
ado_organization: 'microsoft'
ado_project: 'Edge'
ado_area_path: 'Edge\Web Experience\WebView2'
ado_tags: 'WV2_GitHub'
ado_gh_closed_tag: 'WV2_GitHub_Closed'
- name: Sync Regressions to ADO
uses: Navdeep-ss/github-actions-issue-to-work-item@simple-sync-azurecli
env:
github_token: "${{ secrets.GITHUB_TOKEN }}"
with:
label: 'regression'
ado_organization: 'microsoft'
ado_project: 'Edge'
ado_area_path: 'Edge\Web Experience\WebView2'
ado_tags: 'WV2SupportAutoFile'
ado_gh_closed_tag: 'WV2_GitHub_Closed'
update_issue_body: 'false'