Skip to content
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

tasks: Add cockpituous refs/heads/main mock API endpoint #597

Merged
merged 1 commit into from
Mar 12, 2024

Commits on Mar 12, 2024

  1. tasks: Add cockpituous refs/heads/main mock API endpoint

    job-runner needs that for cross-project testing [1]. A clean way would
    be to actually resolve "main" to a current SHA in the test, but as
    nothing actually cares, just rely on the `main` fallback for now --
    nothing cares whether this is an actual SHA, as most things in git are
    happy with a "ref" -- and we don't use that to post statuses (and that
    would fail because the mock doesn't provide these paths).
    
    [1] cockpit-project/bots#6066
    martinpitt committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    1609bd4 View commit details
    Browse the repository at this point in the history