Skip to content

Commit

Permalink
Merge pull request #761 from conda-forge/beckermr-patch-1
Browse files Browse the repository at this point in the history
feat: output notices to help associate jobs w/ repos
  • Loading branch information
beckermr authored Nov 3, 2024
2 parents b411a98 + e6c46ab commit 0c9e65c
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions conda_forge_webservices/github_actions_integration/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,11 @@ def _pull_docker_image():
def main_init_task(task, repo, pr_number):
logging.basicConfig(level=logging.INFO)

LOGGER.info("initializing task `%s` for conda-forge/%s#%s", task, repo, pr_number)
action_desc = f"task `{task}` for conda-forge/{repo}#{pr_number}"
print(
f"::notice title=conda-forge-webservices job information::{action_desc}",
flush=True,
)

if task in ["rerender", "version_update"]:
pass
Expand Down Expand Up @@ -480,7 +484,11 @@ def main_finalize_task(task_data_dir):
def main_automerge(repo, sha):
logging.basicConfig(level=logging.INFO)

LOGGER.info("Running automerge for conda-forge/%s@%s", repo, sha)
action_desc = f"task `automerge` for conda-forge/{repo}@{sha}"
print(
f"::notice title=conda-forge-webservices job information::{action_desc}",
flush=True,
)

found_pr = False
full_repo_name = f"conda-forge/{repo}"
Expand Down

0 comments on commit 0c9e65c

Please sign in to comment.