Skip to content

Run WTI to automatically triage github issues #11

Run WTI to automatically triage github issues

Run WTI to automatically triage github issues #11

Workflow file for this run

name: Sync GitHub with ADO
on:
pull_request:
jobs:
getSimilarIssues:
runs-on: ubuntu-latest
outputs:
message: ${{ steps.getBody.outputs.message }}
steps:
- uses: actions/checkout@v2
- id: getBody
uses: craigloewen-msft/GitGudSimilarIssues@main
with:
issueTitle: "Cannot install WSL on latest Windows Insider dev build" # Hardcoded for testing
issueBody: "Cannot install WSL on latest Windows Insider dev build" # Hardcoded for testing
repository: ${{ github.repository }}
similarityTolerance: "0.1" # Lowered value for testing
wti:
name: Run wti
needs: getSimilarIssues
runs-on: windows-2022
permissions:
issues: write
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: 'Run WTI'
if: ${{ !contains(needs.getSimilarIssues.outputs.message, "\'@") }} # Skip this step if the description contains a string that will break the here document

Check failure on line 32 in .github/workflows/wti.yml

View workflow run for this annotation

GitHub Actions / Sync GitHub with ADO

Invalid workflow file

The workflow is not valid. .github/workflows/wti.yml (Line: 32, Col: 13): The expression is not closed. An unescaped ${{ sequence was found, but the closing }} sequence was not found.
run: |
cd echo @'${{ needs.getSimilarIssues.outputs.message }}'@ | .github\workflows && .\wti.exe --issue 11305 --config config.yml --github-token "${{ secrets.GITHUB_TOKEN }}" --ignore-tags --default-message-stdin