fixing "Updates were rejected because the remote contains work that you do"
adding git pull
This commit is contained in:
parent
0224a8b127
commit
483f5cce46
|
@ -25,6 +25,7 @@ api_base="https://api.github.com/repos/solana-labs/solana/pulls"
|
||||||
pr_num=$(echo "$BUILDKITE_BRANCH" | grep -Eo '[0-9]+')
|
pr_num=$(echo "$BUILDKITE_BRANCH" | grep -Eo '[0-9]+')
|
||||||
branch=$(curl -s "$api_base/$pr_num" | python3 -c 'import json,sys;print(json.load(sys.stdin)["head"]["ref"])')
|
branch=$(curl -s "$api_base/$pr_num" | python3 -c 'import json,sys;print(json.load(sys.stdin)["head"]["ref"])')
|
||||||
|
|
||||||
|
git pull
|
||||||
git add :**/Cargo.lock
|
git add :**/Cargo.lock
|
||||||
EMAIL="dependabot-buildkite@noreply.solana.com" \
|
EMAIL="dependabot-buildkite@noreply.solana.com" \
|
||||||
GIT_AUTHOR_NAME="$name" \
|
GIT_AUTHOR_NAME="$name" \
|
||||||
|
|
Loading…
Reference in New Issue