From 1fa1a87ab84cee2b5a9a63a064a503b4fedad9b1 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Thu, 17 Aug 2023 16:47:12 -0500 Subject: [PATCH] GODRIVER-2923 Remove workflow (#1357) --- .github/workflows/comment.yml | 39 ----------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 .github/workflows/comment.yml diff --git a/.github/workflows/comment.yml b/.github/workflows/comment.yml deleted file mode 100644 index 641acf5973..0000000000 --- a/.github/workflows/comment.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: PR API Report -on: - pull_request_target: - -jobs: - comment: - runs-on: ubuntu-latest - permissions: - pull-requests: write - issues: write - steps: - - uses: actions/setup-go@v4 - - name: Find Comment - uses: peter-evans/find-comment@v2 - id: fc - with: - issue-number: ${{ github.event.pull_request.number }} - comment-author: 'github-actions[bot]' - body-includes: "## API Change Report" - - - name: Create the comment body - run: | - set -eux - git clone https://github.com/mongodb/mongo-go-driver - cd mongo-go-driver - git remote add source https://github.com/$GITHUB_ACTOR/mongo-go-driver - git fetch origin $GITHUB_BASE_REF - git fetch source $GITHUB_HEAD_REF - git checkout $GITHUB_HEAD_REF - make api-report - cat api-report.md - - - name: Create or update comment - uses: peter-evans/create-or-update-comment@v3 - with: - comment-id: ${{ steps.fc.outputs.comment-id }} - issue-number: ${{ github.event.pull_request.number }} - body-path: 'mongo-go-driver/api-report.md' - edit-mode: replace \ No newline at end of file