Skip to content

Commit c9955d5

Browse files
authored
Merge pull request #18 from coderabbit-demo/feature/update-pr-script-repos
Update PR Script Repository Paths
2 parents dcc59b0 + 7b1f714 commit c9955d5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

create-pr.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,9 @@ if [ "$PUSHED_BB" = "1" ]; then
132132
PR_TITLE_ESCAPED=$(echo "$PR_TITLE" | sed 's/"/\\"/g')
133133

134134
BB_RESPONSE=$(curl -s -X POST \
135-
-u "john@turbulent.cloud:$BB_API_KEY" \
135+
-u "jbingham@coderabbit.ai:$BB_API_KEY" \
136136
-H "Content-Type: application/json" \
137-
https://api.bitbucket.org/2.0/repositories/turbulentcloud/rabbit-followers/pullrequests \
137+
https://api.bitbucket.org/2.0/repositories/demo-coderabbit/rabbit-followers/pullrequests \
138138
-d "{\"title\":\"$PR_TITLE_ESCAPED\",\"source\":{\"branch\":{\"name\":\"$BRANCH_NAME\"}},\"destination\":{\"branch\":{\"name\":\"$BASE_BRANCH\"}},\"description\":\"$PR_DESC_ESCAPED\"}")
139139

140140
BB_PR_URL=$(echo "$BB_RESPONSE" | python3 -c "import sys, json; data=json.load(sys.stdin); print(data.get('links', {}).get('html', {}).get('href', ''))" 2>/dev/null)
@@ -195,7 +195,7 @@ fi
195195
if [ "$PUSHED_GL" = "1" ]; then
196196
echo -e " Creating PR on ${YELLOW}GitLab (gitlab.com)${NC}..."
197197
if command -v glab &> /dev/null; then
198-
GLAB_PR_URL=$(glab mr create --repo turbulent-cloud-group/rabbit-followers \
198+
GLAB_PR_URL=$(glab mr create --repo demo-coderabbit/rabbit-followers \
199199
--title "$PR_TITLE" \
200200
--description "$PR_DESCRIPTION_FULL" \
201201
--source-branch "$BRANCH_NAME" \

0 commit comments

Comments
 (0)