Hello 👋
Does safe-outputs::dispatch-workflow support cross repo dispatch?
My workflow failed with:
Warning: Failed to load handler for dispatch_workflow: E004: Cross-repository dispatch to ‘ORG/REPO’ is not permitted. No allowlist is configured. Define ‘allowed_repos’ to enable cross-repository dispatch.
I followed the instruction to define allowed_repos under dispatch-workflow but the compilation failed which stated that allowed_repos is not a supported attribute.
There’s definitely logic in AW that processes allowed_repos https://github.com/github/gh-aw/blob/main/actions/setup/js/dispatch_workflow.cjs#L50-L65, but there seems to be another layer that’s not allowing that setting.
Is this the expected behaviour?
Thank you
Hello 👋
Does
safe-outputs::dispatch-workflowsupport cross repo dispatch?My workflow failed with:
I followed the instruction to define
allowed_reposunderdispatch-workflowbut the compilation failed which stated thatallowed_reposis not a supported attribute.There’s definitely logic in AW that processes
allowed_reposhttps://github.com/github/gh-aw/blob/main/actions/setup/js/dispatch_workflow.cjs#L50-L65, but there seems to be another layer that’s not allowing that setting.Is this the expected behaviour?
Thank you