Merge pull request #445 from FunkinCrew/cancel-merge-2

sender branch name
This commit is contained in:
Cameron Taylor 2024-03-29 01:51:03 -04:00
commit 826b6737e5

View file

@ -22,7 +22,7 @@ jobs:
repo: context.repo.repo, repo: context.repo.repo,
workflow_id: "build-shit.yml", workflow_id: "build-shit.yml",
status: "queued", status: "queued",
branch: "${{ github.ref_name }}" branch: "${{ github.event.sender.name }}"
}); });
let runs = branch_workflows.data.workflow_runs; let runs = branch_workflows.data.workflow_runs;
runs.forEach((run) => { runs.forEach((run) => {
@ -32,3 +32,4 @@ jobs:
run_id: run.id run_id: run.id
}); });
}); });
console.log(runs);