ci: trigger goreportcard refresh
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
fdabd847c6
commit
a859916f1c
@ -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"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user