mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-29 18:04:15 +02:00
dcba48f916
In order to test this functionality, we had to expose the `BranchHead()` through an API endpoint ``` GET /repos/{repo_id}/branches/{branch}/head ``` The response is a string that contains the latest commit hash of the requested branch.