Skip to content

CI: smoke.yaml runs tests on main branch instead of pr branch when triggered by pr #544

@fynnsu

Description

@fynnsu

Problem line is:

ref: ${{inputs.branch}}

Note: this works as expected when called with workflow_dispatch but fails when triggered by pull_request_target trigger.

Example run checking out incorrect branch: https://github.com/instructlab/training/actions/runs/14886706608/job/41808924082#step:6:177

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions