-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support merge_group trigger #456
Comments
@tenjaa thanks for opening an issue apologies it took almost a month to get to it. After reading the docs it looks like we'd need to modify a bit how we fetch the base and head refs if the event is of type |
I don't know where I got the workaround from but this in the end worked for me:
|
Thanks for the workaround example. I'm leaving this open and marked as "Good First Issue" so we can maybe get this supported as a first-class thing. |
This e.g. failed: https://github.com/tomorrow-one/transactional-outbox/actions/runs/7494707648/job/20403300549#step:2:9 with `Error: Both a base ref and head ref must be provided, either via the `base_ref`/`head_ref` config options, or by running a `pull_request`/`pull_request_target` workflow.` Workaround this issue following actions/dependency-review-action#456
This update ensures that the Dependency Review action has the correct references for base and head in pull request events. It helps in accurately reviewing dependency changes between the branches. Reference: actions/dependency-review-action#456 (comment)
When using this action with the new merge queue feature, I get the following error:
It would be awesome, if this action can support the
merge_group
trigger out of the box.The text was updated successfully, but these errors were encountered: