Skip to content

Commit

Permalink
Merge pull request #1544 from blockchain-certificates/feat/japanese-s…
Browse files Browse the repository at this point in the history
…upport

chore(CI): update PR script. Attempt fixing auth issue on CI
  • Loading branch information
lemoustachiste authored Dec 14, 2023
2 parents 30939dc + 4619301 commit 828c325
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion scripts/automated-update-blockcerts.org.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,13 @@ git remote add origin https://$GITHUB_USER:$BOTCERTS_PR_GITHUB_TOKEN@$GIT_REPO
# "base": "master"
#}

curl --data '{"head":"'${WORK_BRANCH}'", "base":"master", "title": "bump Blockcerts Verifier version", "body": "Please review and merge @lemoustachiste @raiseandfall"}' -H "Authorization: token ${BOTCERTS_PR_GITHUB_TOKEN}" https://api.github.com/repos/$BLOCKCERTS_GITHUB_REPO/pulls -v
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${BOTCERTS_PR_GITHUB_TOKEN}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/$BLOCKCERTS_GITHUB_REPO/pulls \
-d '{"head":"'${WORK_BRANCH}'", "base":"master", "title": "bump Blockcerts Verifier version", "body": "Please review and merge @lemoustachiste @raiseandfall"}'

# clean after use
cd ..
Expand Down

0 comments on commit 828c325

Please sign in to comment.