Skip to content

Commit

Permalink
docs(*): update the changelog PR title to include the docs(release) s…
Browse files Browse the repository at this point in the history
…cope
  • Loading branch information
AndyZhang0707 committed Sep 29, 2024
1 parent d1fc73b commit 8af1814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion changelog/create_pr
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if [[ -z "${response:+x}" ]] ; then
-H "Authorization: Bearer ${GITHUB_TOKEN}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
"https://api.github.com/repos/${1}/pulls" \
-d '{"base":"'"${2}"'", "title":"'"Generate ${3} changelog"'","body":"'"Generate ${3} changelog"'","head":"'"${4}"'"}' \
-d '{"base":"'"${2}"'", "title":"'"docs(release): generate ${3} changelog"'","body":"'"Generate ${3} changelog"'","head":"'"${4}"'"}' \
| jq -r '[.html_url, .head.ref] | @tsv'
else
printf 'Updated existing PR: %s\n' "${response}"
Expand Down

0 comments on commit 8af1814

Please sign in to comment.