-
Notifications
You must be signed in to change notification settings - Fork 252
26 lines (24 loc) · 761 Bytes
/
main.yml
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
# This GHA workflow syncs GitHub issues to Azure DevOps work items
name: Sync Issue with ADO
on:
# Only run when a label is added to an issue
issues:
types: [labeled]
jobs:
create_ado_item:
runs-on: ubuntu-latest
permissions:
issues: write
name: ADOSync workflow
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: 'DevToolsVSCodeExtension_GitHub'
ado_area_path: 'Edge\Web Experience\Developer Tools\F12 Tools\VSCode Extension'
ado_work_item_type: 'Bug'