Skip to content

Support merge_group events for type=ref tags #529

Open

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.

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

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