Skip to content

workflow_call: event payload should be same as caller #38705

Description

@rva-kvanheck

Gitea Version

1.27.1

What happened?

Before v1.27, the event payload for workflow payload events was the same as the caller.
The following conditional in a workflow triggered by workflow_call worked as expected before v1.27:
if: ${{ github.event_name == 'push' }}

Expected event payload documentation:
https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows#workflow_call

How are you running Gitea?

Binary on RHEL 9.8 VM.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions