-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid setting username and token for git push (#780)
- Loading branch information
Showing
2 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,8 +11,10 @@ export GO_VERSION | |
# https://buildkite.com/docs/pipelines/managing-log-output#redacted-environment-variables | ||
|
||
if [[ "$BUILDKITE_PIPELINE_SLUG" == "package-spec-test-with-integrations" && "$BUILDKITE_STEP_KEY" == "pr-integrations" ]]; then | ||
# required to set the git commit information | ||
GITHUB_USERNAME_SECRET="elasticmachine" | ||
export GITHUB_USERNAME_SECRET=$GITHUB_USERNAME_SECRET | ||
export GITHUB_EMAIL_SECRET="[email protected]" | ||
# required by `gh` commands | ||
export GITHUB_TOKEN=$VAULT_GITHUB_TOKEN | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters