CI: bump actions/github-script to v6

This commit is contained in:
liushuyu 2022-10-12 15:44:41 -06:00
parent aa0fa905d6
commit d9393c4ce4
No known key found for this signature in database
GPG Key ID: 23D1CE4534419437
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ jobs:
fetch-depth: 0
submodules: true
- run: npm install execa@5
- uses: actions/github-script@v5
- uses: actions/github-script@v6
name: Check and Merge
id: check-changes
with:

View File

@ -45,7 +45,6 @@ async function incrementVersion() {
}
async function mergeChanges(branch, execa) {
let mergeResults = {};
try {
const process = await execa("git", [
"merge",
@ -64,6 +63,7 @@ async function mergeChanges(branch, execa) {
console.log(
`::error title=Merge failed::Failed to merge pull request: ${err}`,
);
return;
}
const process = await execa("git", [