mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-29 21:31:02 +00: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. |
||
---|---|---|
.. | ||
bitbucket | ||
common | ||
gitea | ||
github | ||
gitlab | ||
mocks | ||
types | ||
configFetcher.go | ||
configFetcher_test.go | ||
forge.go |