Skip to content

Commit 703c401

Browse files
committed
ci: fix for..of loop inside workflows dispatcher
Wrong usage of the for loop was causing CI to fail triggering. Use for..of to iterate over an array of strings instead of for..in. Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
1 parent 5b5386c commit 703c401

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci-patchwork-trigger.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
continue;
5656
}
5757
58-
for (const workflow in workflows) {
58+
for (const workflow of workflows) {
5959
const response = await github.rest.actions.createWorkflowDispatch({
6060
owner: context.repo.owner,
6161
repo: context.repo.repo,

0 commit comments

Comments
 (0)