mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-27 01:55:52 -05:00
Merge pull request #445 from FunkinCrew/cancel-merge-2
sender branch name
This commit is contained in:
commit
826b6737e5
1 changed files with 2 additions and 1 deletions
3
.github/workflows/cancel-merged-branches.yml
vendored
3
.github/workflows/cancel-merged-branches.yml
vendored
|
@ -22,7 +22,7 @@ jobs:
|
|||
repo: context.repo.repo,
|
||||
workflow_id: "build-shit.yml",
|
||||
status: "queued",
|
||||
branch: "${{ github.ref_name }}"
|
||||
branch: "${{ github.event.sender.name }}"
|
||||
});
|
||||
let runs = branch_workflows.data.workflow_runs;
|
||||
runs.forEach((run) => {
|
||||
|
@ -32,3 +32,4 @@ jobs:
|
|||
run_id: run.id
|
||||
});
|
||||
});
|
||||
console.log(runs);
|
||||
|
|
Loading…
Reference in a new issue