Skip to content

Commit

Permalink
fixing "Updates were rejected because the remote contains work that y…
Browse files Browse the repository at this point in the history
…ou do"

adding git pull
  • Loading branch information
denispalab authored Dec 8, 2021
1 parent 0224a8b commit 483f5cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ci/dependabot-pr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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="[email protected]" \
GIT_AUTHOR_NAME="$name" \
Expand Down

0 comments on commit 483f5cc

Please sign in to comment.