Networking mirrored can't access to windows by 127.0.0.1:port with WSL2 #493
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: GitGudSimilarIssues comments | |
on: | |
issues: | |
types: [opened] | |
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: ${{ github.event.issue.title }} | |
repository: ${{ github.repository }} | |
similarityTolerance: "0.7" | |
add-comment: | |
needs: getSimilarIssues | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
if: needs.getSimilarIssues.outputs.message != '' | |
steps: | |
- name: Add comment | |
run: gh issue comment "$NUMBER" --repo "$REPO" --body "$BODY" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NUMBER: ${{ github.event.issue.number }} | |
REPO: ${{ github.repository }} | |
BODY: ${{ needs.getSimilarIssues.outputs.message }} |