Skip to content

Support merge_group events for type=ref tags #529

Open
@psypuff

Description

@psypuff

Description

Github Merge Queue is a common part of a CI/CD flow nowadays. In our case the test suite triggered by the Merge Queue relies on the existence of a Docker image. For us it only makes sense to tag it with the PR number that went into the Merge Queue so we could also benefit from layer cache later on.

It'd be really nice to have a type=ref,event=mq tag option, similar to the type=ref,event=pr one.
Currently, our workaround is type=raw,value=pr-${{ <PR Number> }},enable=${{ github.event_name == 'merge_group' }} where the PR number is extracted from github.event.merge_group.head_ref.

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