Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information