Skip to content

Commit

Permalink
fix logic error in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Schraer committed Feb 13, 2024
1 parent cc22b4d commit 41c30dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/sync-to-ado.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ jobs:
shell: pwsh
run: |
$adoWorkItemLink = pwsh -File ./scripts/ADOGetADOLinkNumber.ps1 "${{ github.event.issue.body }}"
if ($adoWorkItemLink -eq 0){
if ($adoWorkItemLink -ne 0){
pwsh -File ./scripts/ADOUpdateFeature.ps1 -organization "msdata" -project "Vienna" -pat "${{ secrets.ADO_PERSONAL_ACCESS_TOKEN}}" -workItemId "$adoWorkItemLink" -newState "${{ github.event.issue.state }}"
}

0 comments on commit 41c30dd

Please sign in to comment.