Skip to content

Commit f3d29cd

Browse files
authored
Update ado_sync.yml
1 parent 3e09524 commit f3d29cd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ado_sync.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ jobs:
2424
ado_project: "${{ vars.ADO_PROJECT_NAME }}"
2525
ado_area_path: "${{ vars.ADO_AREA_PATH }}"
2626
ado_iteration_path: "${{ vars.ADO_ITERATION_PATH }}"
27-
ado_wit: "Product Backlog Item"
27+
ado_wit: ${{ (contains(github.event.issue.title, 'FEATURE') || contains(github.event.issue.title, 'DOCS')) && 'Product Backlog Item' || 'Bug' }}
2828
ado_new_state: "New"
29-
ado_active_state: "Active"
30-
ado_close_state: "Closed"
29+
ado_active_state: ${{ (contains(github.event.issue.title, 'FEATURE') || contains(github.event.issue.title, 'DOCS')) && 'Active' || 'Committed' }}
30+
ado_close_state: ${{ (contains(github.event.issue.title, 'FEATURE') || contains(github.event.issue.title, 'DOCS')) && 'Closed' || 'Done' }}
3131
ado_bypassrules: true
3232
log_level: 100

0 commit comments

Comments
 (0)