diff --git a/.github/workflows/ado_sync.yml b/.github/workflows/ado_sync.yml index 069ced10..5f5d366e 100644 --- a/.github/workflows/ado_sync.yml +++ b/.github/workflows/ado_sync.yml @@ -24,9 +24,9 @@ jobs: ado_project: "${{ vars.ADO_PROJECT_NAME }}" ado_area_path: "${{ vars.ADO_AREA_PATH }}" ado_iteration_path: "${{ vars.ADO_ITERATION_PATH }}" - ado_wit: "Product Backlog Item" + ado_wit: ${{ (contains(github.event.issue.title, 'FEATURE') || contains(github.event.issue.title, 'DOCS')) && 'Product Backlog Item' || 'Bug' }} ado_new_state: "New" - ado_active_state: "Active" - ado_close_state: "Closed" + ado_active_state: ${{ (contains(github.event.issue.title, 'FEATURE') || contains(github.event.issue.title, 'DOCS')) && 'Active' || 'Committed' }} + ado_close_state: ${{ (contains(github.event.issue.title, 'FEATURE') || contains(github.event.issue.title, 'DOCS')) && 'Closed' || 'Done' }} ado_bypassrules: true log_level: 100