From a859916f1c41bf6b9ffb59c58875fabe57400c3a Mon Sep 17 00:00:00 2001 From: surtur Date: Wed, 25 May 2022 16:50:29 +0200 Subject: [PATCH] ci: trigger goreportcard refresh --- .drone.starlark | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/.drone.starlark b/.drone.starlark index a818669..572dc30 100644 --- a/.drone.starlark +++ b/.drone.starlark @@ -405,6 +405,41 @@ def main(ctx): "temp": {} } ] + }, + { + "kind": "pipeline", + "type": "docker", + "name": "goreportcard refresh", + "clone": {"disable": True}, + "depends_on": ["nix", "archlinux", "fedora"], + "trigger": { + "ref": { + "include": [ + "refs/tags/**", + "refs/heads/development" + ], + "exclude": [ + "refs/pull/**" + ] + } + }, + "steps": [ + { + "name": "trigger", + "image": "docker.io/curlimages/curl:7.83.1", + "pull": "if-not-exists", + "commands": [ + "uname -r", + "curl --version", + "curl " + + "-sS " + + "-X POST " + + "-F \"repo=git.dotya.ml/${DRONE_REPO}\" " + + "https://goreportcard.com/checks " + + "-o /dev/null" + ] + } + ] } ]