mirror of
https://github.com/flathub/org.yuzu_emu.yuzu.git
synced 2024-12-16 14:37:03 +00:00
CI: bump actions/github-script to v6
This commit is contained in:
parent
aa0fa905d6
commit
d9393c4ce4
2
.github/workflows/auto-merge.yml
vendored
2
.github/workflows/auto-merge.yml
vendored
@ -16,7 +16,7 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
submodules: true
|
submodules: true
|
||||||
- run: npm install execa@5
|
- run: npm install execa@5
|
||||||
- uses: actions/github-script@v5
|
- uses: actions/github-script@v6
|
||||||
name: Check and Merge
|
name: Check and Merge
|
||||||
id: check-changes
|
id: check-changes
|
||||||
with:
|
with:
|
||||||
|
2
.github/workflows/merge.js
vendored
2
.github/workflows/merge.js
vendored
@ -45,7 +45,6 @@ async function incrementVersion() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function mergeChanges(branch, execa) {
|
async function mergeChanges(branch, execa) {
|
||||||
let mergeResults = {};
|
|
||||||
try {
|
try {
|
||||||
const process = await execa("git", [
|
const process = await execa("git", [
|
||||||
"merge",
|
"merge",
|
||||||
@ -64,6 +63,7 @@ async function mergeChanges(branch, execa) {
|
|||||||
console.log(
|
console.log(
|
||||||
`::error title=Merge failed::Failed to merge pull request: ${err}`,
|
`::error title=Merge failed::Failed to merge pull request: ${err}`,
|
||||||
);
|
);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const process = await execa("git", [
|
const process = await execa("git", [
|
||||||
|
Loading…
Reference in New Issue
Block a user