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

[bazel] Use a credential helper #12018

Merged
merged 1 commit into from
May 9, 2023
Merged

Conversation

shs96c
Copy link
Member

@shs96c shs96c commented May 9, 2023

Bazel allows us to use a "credential helper" to supply authentication tokens to a remote build environment.

This PR adds a simple helper written as a bash script (so it should work just fine everywhere) that pulls the credential from one of three places: the GITHUB_TOKEN env var, a custom ENGFLOW_GITHUB_TOKEN (which a user can set), or from the macOS Keychain.

To set the value in the keychain, use ./scripts/credential-helper.sh set and enter the GitHub token via stdin. This will store the value in the keychain, so you can use it elsewhere.

@p0deje p0deje merged commit f76a893 into SeleniumHQ:trunk May 9, 2023
8 checks passed
@shs96c shs96c deleted the credentials branch May 10, 2023 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants