mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 20:01: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. |
||
---|---|---|
.. | ||
api | ||
badges | ||
cache | ||
ccmenu | ||
cron | ||
forge | ||
grpc | ||
logging | ||
model | ||
pipeline | ||
plugins | ||
pubsub | ||
queue | ||
router | ||
store | ||
web | ||
config.go |