Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
metasansana committed Aug 14, 2023
1 parent e2c50f9 commit 1717383
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
BRANCH=$(git symbolic-ref --short HEAD)
TITLE=$(git log -1 --format=%s HEAD)
BODY=$(git log -1 --format=%B HEAD)
PAYLOAD="{\"title\": \"$TITLE\", \"head\": \"$BRANCH\", \"body\": \"$BODY\", \"base\": \"master\"}"
PAYLOAD="{\"title\":\"$TITLE\",\"head\":\"$BRANCH\",\"body\":\"$BODY\",\"base\":\"master\"}"
RESPONSE=$(curl -X POST \
-H "Authorization: token $TOKEN" \
-d $PAYLOAD \
-d "$PAYLOAD" \
https://api.github.com/repos/$GITHUB_REPOSITORY/pulls)
PR_URL=$(echo "$RESPONSE" | jq -r '.html_url')
Expand Down

0 comments on commit 1717383

Please sign in to comment.