Compare commits
2 commits
e01aaadd0b
...
782e0bdbe2
Author | SHA1 | Date | |
---|---|---|---|
782e0bdbe2 | |||
|
87ca73e57a |
2 changed files with 1 additions and 15 deletions
|
@ -4,7 +4,7 @@ steps:
|
||||||
- event: tag
|
- event: tag
|
||||||
ref: refs/tags/v*
|
ref: refs/tags/v*
|
||||||
# INFO: https://woodpecker-ci.org/plugins/Gitea%20Release
|
# INFO: https://woodpecker-ci.org/plugins/Gitea%20Release
|
||||||
image: docker.io/woodpeckerci/plugin-gitea-release:0.3.1
|
image: docker.io/woodpeckerci/plugin-gitea-release:0.3.2
|
||||||
settings:
|
settings:
|
||||||
base_url: https://git.kemitix.net
|
base_url: https://git.kemitix.net
|
||||||
api_key:
|
api_key:
|
||||||
|
|
|
@ -523,20 +523,6 @@ mod github {
|
||||||
|
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
pub fn a_commit_state(
|
|
||||||
state: impl AsRef<str>, // TODO change this to GithubState
|
|
||||||
net: &mut MockNetwork,
|
|
||||||
repo_details: &git::RepoDetails,
|
|
||||||
commit: &git::Commit,
|
|
||||||
) {
|
|
||||||
let response = json!([{"state":state.as_ref()}]);
|
|
||||||
net.add_get_response(
|
|
||||||
a_commit_status_url(repo_details, commit).as_str(),
|
|
||||||
StatusCode::OK,
|
|
||||||
response.to_string().as_str(),
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
pub fn commit_states(
|
pub fn commit_states(
|
||||||
states: &[GithubState],
|
states: &[GithubState],
|
||||||
net: &mut MockNetwork,
|
net: &mut MockNetwork,
|
||||||
|
|
Loading…
Reference in a new issue