From 483f5cce465c28b94201dd18d99f754f452bc2e7 Mon Sep 17 00:00:00 2001 From: axleiro <83293196+axleiro@users.noreply.github.com> Date: Wed, 8 Dec 2021 13:32:54 +0530 Subject: [PATCH] fixing "Updates were rejected because the remote contains work that you do" adding git pull --- ci/dependabot-pr.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/dependabot-pr.sh b/ci/dependabot-pr.sh index 9ef6816cec..769dc33cf3 100755 --- a/ci/dependabot-pr.sh +++ b/ci/dependabot-pr.sh @@ -25,6 +25,7 @@ api_base="https://api.github.com/repos/solana-labs/solana/pulls" 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"])') +git pull git add :**/Cargo.lock EMAIL="dependabot-buildkite@noreply.solana.com" \ GIT_AUTHOR_NAME="$name" \