mirror of
https://github.com/harness/drone.git
synced 2025-05-12 23:20:10 +08:00
Merge branch 'master' into bbserver-cleanup
This commit is contained in:
commit
bc1cbcca74
2
Makefile
2
Makefile
@ -1,4 +1,4 @@
|
|||||||
.PHONY: vendor docs build release
|
.PHONY: build
|
||||||
|
|
||||||
PACKAGES = $(shell go list ./... | grep -v /vendor/)
|
PACKAGES = $(shell go list ./... | grep -v /vendor/)
|
||||||
|
|
||||||
|
@ -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 New Issue
Block a user