Skip to content

Bug: safe-outputs::dispatch-workflow does not support cross repo dispatch #38969

Description

@jitran

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions