Skip to content

GODRIVER-2923 Report Go Driver API changes in PRs #22

GODRIVER-2923 Report Go Driver API changes in PRs

GODRIVER-2923 Report Go Driver API changes in PRs #22

Workflow file for this run

name: Comment
on:
pull_request:
jobs:
comment:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: actions/checkout@v2
- 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: Build output
- name: Create the comment body
run: |
make api-report &> comment-body.md
cat comment-body.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: 'comment-body.md'
edit-mode: replace