Skip to content

Run WTI to automatically triage github issues #1

Run WTI to automatically triage github issues

Run WTI to automatically triage github issues #1

Workflow file for this run

name: Sync GitHub with ADO
on:
pull_request:
jobs:
wti:
name: Run wti
if: ${{ github.event.label.name == 'tracking' || contains(github.event.issue.labels.*.name, 'tracking') }} # Filters out issues/events without the 'tracking' label
runs-on: windows-2022
steps:
- name: 'Run WTI'
run: cd \.github\workflows && wti.exe --issue 11306 --config config.yml --github-token "${{ secrets.GITHUB_TOKEN }}" --ignore-tags
network-sync:
name: GH-Sync networking issue
if: ${{ github.event.label.name == 'network' || contains(github.event.issue.labels.*.name, 'network') }}
runs-on: ubuntu-latest
steps:
- name: 'Trigger gh-sync'
uses: craigloewen-msft/gh-sync@main
with:
ado-organization-url: ${{ secrets.AZURE_DEVOPS_URL }}
ado-project: ${{ secrets.AZURE_DEVOPS_PROJECT }}
ado-area-path: ${{ secrets.AZURE_DEVOPS_NETWORKING_PATH }}
github-repo: 'microsoft/WSL'
issue-number: ${{github.event.issue.number}} # Auto-generated from GitHub action
ado-token: ${{ secrets.AZURE_DEVOPS_TOKEN }} # Your Personal Access Token (PAT)
github-token: ${{ secrets.GITHUB_TOKEN }} # Auto-generated from GitHub action
gpu-sync:
name: GH-Sync GPU issue
if: ${{ github.event.label.name == 'GPU' || contains(github.event.issue.labels.*.name, 'GPU') }}
runs-on: ubuntu-latest
steps:
- name: 'Trigger gh-sync'
uses: craigloewen-msft/gh-sync@main
with:
ado-organization-url: ${{ secrets.AZURE_DEVOPS_URL }}
ado-project: ${{ secrets.AZURE_DEVOPS_PROJECT }}
ado-area-path: ${{ secrets.AZURE_DEVOPS_GPU_PATH }}
github-repo: 'microsoft/WSL'
issue-number: ${{github.event.issue.number}} # Auto-generated from GitHub action
ado-token: ${{ secrets.AZURE_DEVOPS_TOKEN }} # Your Personal Access Token (PAT)
github-token: ${{ secrets.GITHUB_TOKEN }} # Auto-generated from GitHub action
ado-assigned-to: ${{ secrets.AZURE_DEVOPS_GPU_ASSIGNED_TO }}