Skip to content

Commit ec3ba66

Browse files
authored
Merge pull request #1605 from elastic/ci/make-codegen-gh-user
ci: add x-access-token user to make.sh script
2 parents bf9f7c8 + 5337e75 commit ec3ba66

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/make.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ if [[ "$CMD" == "codegen" ]]; then
193193
--rm -v $repo:/code/elasticsearch-php \
194194
$product \
195195
/bin/bash -x -c "cd /code && mkdir codegen && \
196-
git clone https://$CLIENTS_GITHUB_TOKEN@github.com/elastic/elastic-client-generator-php.git && \
196+
git clone https://x-access-token:$CLIENTS_GITHUB_TOKEN@github.com/elastic/elastic-client-generator-php.git && \
197197
cd /code/elastic-client-generator-php && composer install && \
198198
bin/elasticsearch9.php $ES_VERSION $BRANCH /code/codegen config/elasticsearch9.json && \
199199
find /code/elasticsearch-php/src/Endpoints/ -name "*.php" -not -name AbstractEndpoint.php -exec rm {} \;

0 commit comments

Comments
 (0)