Skip to content

Commit

Permalink
Disable auto_merge and set no required contexts
Browse files Browse the repository at this point in the history
  • Loading branch information
ljodal committed Jan 12, 2023
1 parent 7152fdf commit 53d4a22
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion kraken/github/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,12 @@ def create_deployment(self, *, environment: str, commit: str) -> None:
self._request(
"POST",
f"/repos/{self.repo}/deployments",
data={"environment": environment, "ref": commit},
data={
"environment": environment,
"ref": commit,
"auto_merge": False,
"required_contexts": [],
},
)

@functools.cache # noqa: B019
Expand Down

0 comments on commit 53d4a22

Please sign in to comment.