diff --git a/scripts/utils/tryAmendCommit.js b/scripts/utils/tryAmendCommit.js index 0eaa7a6..6e14fb5 100644 --- a/scripts/utils/tryAmendCommit.js +++ b/scripts/utils/tryAmendCommit.js @@ -6,6 +6,7 @@ module.exports.tryAmendCommit = async (forceNew = false) => { if (!forceNew && count > 0) { await execCommand('git add . && git commit -q --amend --no-edit'); } else { + // why 22 const ans = await execCommand( `git add . && git commit -q -m "doc: generate changelog by ci"`, ); diff --git a/scripts/utils/updatePR.js b/scripts/utils/updatePR.js index f7b64a5..5c3ab20 100644 --- a/scripts/utils/updatePR.js +++ b/scripts/utils/updatePR.js @@ -10,7 +10,7 @@ module.exports.updatePullRequest = async (content) => { }; const response = await fetch( - `https://api.github.com/repos/ncqwer/github_action_playground/pulls/${pullRequestNumber}`, + `https://api.github.com/repos/ncqwer/mono-exmaple-ui/pulls/${pullRequestNumber}`, { method: 'PATCH', headers: {