Skip to main content

GitHub Actions channel for exoclaw

Project description

exoclaw-github

GitHub Actions channel for exoclaw.

Runs the exoclaw agent stack inside a GitHub Actions workflow, using issues, PR comments, and workflow_dispatch as the inbound channel and GitHub comments as the outbound channel. Session history is persisted to a dedicated bot-state branch.

Usage

from exoclaw_github import GitHubChannel

channel = GitHubChannel(
    token="ghp_...",       # or set GITHUB_TOKEN env var
    trigger="@exoclaw",    # only respond when this appears in comments (None = all)
    respond_to_issues_opened=True,
    respond_to_prs_opened=False,
)

Supported events

Event Default behaviour
issues (opened) Always respond
issue_comment (created) Respond if trigger word present
pull_request (opened) Off by default
workflow_dispatch Always respond

Session state

Sessions are keyed as github:issue:{number} or github:pr:{number}. When used with exoclaw-conversation, history is stored in ~/.nanobot/workspace/sessions/. Check out the bot-state branch there before running and commit it back afterwards to persist state across workflow runs.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

exoclaw_github-0.3.0.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

exoclaw_github-0.3.0-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file exoclaw_github-0.3.0.tar.gz.

File metadata

  • Download URL: exoclaw_github-0.3.0.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for exoclaw_github-0.3.0.tar.gz
Algorithm Hash digest
SHA256 f76214d575a74b5fd854114dfc85a836e451315c16233e2f00ab8d0a38314a06
MD5 6a7b6a5fa1b724863ed45b7e8003e0ad
BLAKE2b-256 bd98e085e922fd783cd040fdc21931d0c9680613f65ec06fcfd4903570791815

See more details on using hashes here.

File details

Details for the file exoclaw_github-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: exoclaw_github-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 12.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for exoclaw_github-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a0cd5ccf82175b483f12ff6ade1986b2cce74120bc0fdb264f70bcdb2186704f
MD5 2bfb4213d3906f16d77555b798a3fff0
BLAKE2b-256 f0a830e47204e906d562b073d1869dd3958c31d618acb818d094acf83e687c77

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page