-
Notifications
You must be signed in to change notification settings - Fork 832
31 lines (28 loc) · 1.11 KB
/
new_issue.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Process new issue
on:
pull_request: # TODO change with issue
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
commentBody: Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it!
wti:
name: Run wti
needs: getSimilarIssues
runs-on: windows-2022
permissions:
issues: write
uses: ./.github/workflows/automated-triage.yml
with:
similar_issues_text: "${{ needs.getSimilarIssues.outputs.message }}"
issue: 11305