From 6fdc86ed2dd10f69cb7e15da316875b8f7958465 Mon Sep 17 00:00:00 2001 From: Craig Loewen Date: Thu, 18 Jul 2024 13:27:24 -0400 Subject: [PATCH] Removed similar issues bot GitHub Action (#33909) ## Summary of the Pull Request Remove the GitHub action version of the Similar issues bot. This was the prototype version, we have now developed a more robust version in partnership with GitHub (currently in the form of a GitHub app) and are installing that on the repo instead. --- .github/workflows/similarIssues.yml | 33 ----------------------------- 1 file changed, 33 deletions(-) delete mode 100644 .github/workflows/similarIssues.yml diff --git a/.github/workflows/similarIssues.yml b/.github/workflows/similarIssues.yml deleted file mode 100644 index 418e152348..0000000000 --- a/.github/workflows/similarIssues.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: GitGudSimilarIssues comments - -on: - issues: - types: [opened] - -jobs: - getSimilarIssues: - runs-on: ubuntu-latest - outputs: - message: ${{ steps.getBody.outputs.message }} - steps: - - id: getBody - uses: craigloewen-msft/GitGudSimilarIssues@main - with: - issueTitle: ${{ github.event.issue.title }} - issueBody: ${{ github.event.issue.body }} - repo: ${{ github.repository }} - similarityTolerance: "0.75" - 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 }}