Skip to content

Commit

Permalink
add installation id
Browse files Browse the repository at this point in the history
  • Loading branch information
aktech committed Aug 22, 2023
1 parent 0a7bdd9 commit 7b0c3e3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion conda_smithy/cirun_utils.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
from cirun import Cirun

CONDA_FORGE_CIRUN_INSTALLATION_ID = 18453316


def enable_cirun_for_project(owner, repo):
"""Enable the cirun.io Github Application for a particular repository."""
cirun = _get_cirun_client()
return cirun.set_repo(f"{owner}/{repo}", installation_id=123)
return cirun.set_repo(
f"{owner}/{repo}", installation_id=CONDA_FORGE_CIRUN_INSTALLATION_ID
)


def disable_cirun_for_project(owner, repo):
Expand Down

0 comments on commit 7b0c3e3

Please sign in to comment.