-
Notifications
You must be signed in to change notification settings - Fork 0
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
Fix Google Cloud Authentication in GitHub Actions #1
base: master
Are you sure you want to change the base?
Conversation
Rollback Files For Sweep
|
Sandbox Executions |
Important Auto Review SkippedBot user detected. To trigger a single review, invoke the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChat with CodeRabbit Bot (
|
…introduction (langchain-ai#16568) - **Description:** Adding Baichuan Text Embedding Model and Baichuan Inc introduction. Baichuan Text Embedding ranks #1 in C-MTEB leaderboard: https://huggingface.co/spaces/mteb/leaderboard Co-authored-by: BaiChuanHelper <[email protected]>
PR Feedback (click)
I created this PR to fix the failing GitHub Actions.## Description
This PR fixes the issue with the GitHub Actions workflow failing due to incorrect configuration of the
google-github-actions/auth
action. The workflow was not correctly specifying either "workload_identity_provider" or "credentials_json" for Google Cloud authentication.Changes
.github/workflows/main.yml
to correctly specify either "workload_identity_provider" or "credentials_json" in the step wheregoogle-github-actions/auth
is used.workload_identity_provider: "projects/PROJECT_ID/locations/global/workloadIdentityPools/POOL_ID/providers/PROVIDER_ID"
was added, withPROJECT_ID
,POOL_ID
, andPROVIDER_ID
replaced with actual values.credentials_json: ${{ secrets.GOOGLE_CREDENTIALS }}
was added. Here,GOOGLE_CREDENTIALS
is a secret stored in the GitHub repository that contains the service account key.Summary
With these changes, the GitHub Actions workflow should now run without the previous authentication error. Please ensure that if you are using
credentials_json
, theGOOGLE_CREDENTIALS
secret is correctly set up in your GitHub repository settings.