Skip to content

Commit

Permalink
Always set push remote
Browse files Browse the repository at this point in the history
  • Loading branch information
msrb committed Mar 15, 2019
1 parent 75a97d1 commit afcb21c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions open_pull_requests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,11 @@ git clone ${cvedb_git_url} cvedb || (
git checkout master &&\
git reset --hard origin/master &&\
git clean -f -d &&\
git pull &&\
git remote set-url --push origin https://${GITHUB_TOKEN}@github.com/fabric8-analytics/cvedb.git
git pull
)

(
cd ${cvedb} && git remote set-url --push origin https://${GITHUB_TOKEN}@github.com/fabric8-analytics/cvedb.git
)

# copy data from the cvejob-local database to the upstream database
Expand Down

0 comments on commit afcb21c

Please sign in to comment.