Skip to content

Commit

Permalink
Merge pull request #579 from conda-forge/beckermr-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
beckermr authored Mar 22, 2024
2 parents 4b2a82b + 3ed959e commit 7a52a3b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion conda_forge_webservices/update_me.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import tempfile
import shutil
import logging
import github

from git import Repo
import requests
Expand All @@ -14,7 +15,7 @@

LOGGER = logging.getLogger("conda_forge_webservices.update_me")

PKGS = ["conda-smithy"]
PKGS = ["conda-smithy", "conda", "conda-build", "conda-libmamba-solver", "mamba"]


def _run_git_command(args):
Expand Down Expand Up @@ -97,3 +98,11 @@ def main():
finally:
if tmpdir is not None:
shutil.rmtree(tmpdir)

try:
gh = github.Github(get_app_token_for_webservices_only())
repo = gh.get_repo("conda-forge/webservices-dispatch-action")
workflow = repo.get_workflow("tests.yml")
workflow.create_dispatch("main")
except Exception as e:
print(f"workflow_dispatch for webservices-dispatch-action failed: {e}")

0 comments on commit 7a52a3b

Please sign in to comment.