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-2923 Fix remote handling #1348

Merged
merged 9 commits into from
Aug 11, 2023
Merged
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
10 changes: 6 additions & 4 deletions .github/workflows/comment.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
name: Comment
name: PR API Report
on:
pull_request:
pull_request_target:

jobs:
comment:
runs-on: ubuntu-latest
permissions:
pull-requests: write
issues: write
steps:
- uses: actions/setup-go@v4
- name: Find Comment
Expand All @@ -20,10 +21,11 @@ jobs:
- name: Create the comment body
run: |
set -eux
git clone https://github.com/$GITHUB_REPOSITORY
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 origin $GITHUB_HEAD_REF
git fetch source $GITHUB_HEAD_REF
git checkout $GITHUB_HEAD_REF
make api-report
cat api-report.md
Expand Down