Skip to content

Bug: Verify dependencies not working in main branch #1909

Open
@phipag

Description

@phipag

Summary

The verify dependencies workflow fails when merging a PR to main.

Error: Both a base ref and head ref must be provided, either via the `base_ref`/`head_ref` config options, `base-ref`/`head-ref` workflow action options, or by running a `pull_request`/`pull_request_target`/`merge_group` workflow.

Example: https://github.com/aws-powertools/powertools-lambda-java/actions/runs/15777946106/job/44476531450

Why is this needed?

We want to release only commits with Green CI.

Which area does this relate to?

No response

Solution

No response

Acknowledgment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions