mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-30 13:51:30 +00:00
Merge pull request #1751 from vaijab/bp
Fix a typo in reserved build params
This commit is contained in:
commit
e28d85292a
1 changed files with 1 additions and 1 deletions
|
@ -252,7 +252,7 @@ func PostBuild(c *gin.Context) {
|
||||||
var buildParams = map[string]string{}
|
var buildParams = map[string]string{}
|
||||||
for key, val := range c.Request.URL.Query() {
|
for key, val := range c.Request.URL.Query() {
|
||||||
switch key {
|
switch key {
|
||||||
case "fork", "event", "deply_to":
|
case "fork", "event", "deploy_to":
|
||||||
default:
|
default:
|
||||||
// We only accept string literals, because build parameters will be
|
// We only accept string literals, because build parameters will be
|
||||||
// injected as environment variables
|
// injected as environment variables
|
||||||
|
|
Loading…
Reference in a new issue