mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-06-02 13:39:55 +00:00
add todo
This commit is contained in:
parent
c49bfbe651
commit
a4320f1efd
|
@ -2,6 +2,13 @@
|
|||
|
||||
Some versions need some changes to the server configuration or the pipeline configuration files.
|
||||
|
||||
<!--
|
||||
## 3.0.0
|
||||
|
||||
- Update all webhooks by pressing the "Repair all" button in the admin settings as the webhook token claims have changed
|
||||
|
||||
-->
|
||||
|
||||
## `next`
|
||||
|
||||
- Deprecated `steps.[name].group` in favor of `steps.[name].depends_on` (see [workflow syntax](./20-usage/20-workflow-syntax.md#depends_on) to learn how to set dependencies)
|
||||
|
|
|
@ -189,6 +189,8 @@ func PostHook(c *gin.Context) {
|
|||
c.String(http.StatusBadRequest, msg)
|
||||
return
|
||||
}
|
||||
|
||||
// TODO: remove fallback for text full name in next major release
|
||||
verifiedKey := parsedToken.Get("repo-id") == strconv.FormatInt(repo.ID, 10) || parsedToken.Get("text") == currentRepoFullName
|
||||
if !verifiedKey {
|
||||
verifiedKey, err = _store.HasRedirectionForRepo(repo.ID, repo.FullName)
|
||||
|
|
Loading…
Reference in a new issue