Skip to content

Commit

Permalink
fix(create-pr): update to script to work with the new repository loca…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
JoelAlphonso committed Jun 13, 2022
1 parent 9ffeec1 commit 288fed7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions create-pr
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#!/bin/sh

OWNER=locomotive-charcoal
OWNER=charcoalphp
REPO=charcoal
REF=$(git branch --show-current)
BASE=${1:-main}
USER=$(git config user.email)

echo "Preparing pull request form $REF to $BASE..."

HTTP_CODE=$(curl --write-out "%{http_code}\n" --output output.txt --silent \
HTTP_CODE=$(curl --write-out "%{http_code}\n" --silent \
-X POST \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/$OWNER/$REPO/actions/workflows/create-pull-request.yaml/dispatches \
Expand Down

0 comments on commit 288fed7

Please sign in to comment.