Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GODRIVER-2981 API comment doesn't work when job approver isn't PR author #1383

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/comment.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: PR API Report
on:
pull_request_target:
types: [review_requested]

jobs:
comment:
Expand All @@ -25,7 +26,7 @@ jobs:
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 remote add source https://github.com/$GITHUB_REPOSITORY_OWNER/mongo-go-driver
git fetch origin $GITHUB_BASE_REF
git fetch source $GITHUB_HEAD_REF
git checkout $GITHUB_HEAD_REF
Expand All @@ -38,4 +39,4 @@ jobs:
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
edit-mode: replace
Loading