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.1.0.tar.gz (13.4 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.1.0-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for exoclaw_github-0.1.0.tar.gz
Algorithm Hash digest
SHA256 784f9aea1ea101ce4a4ff7d22447f77af0dac02a94aa3d0ec28d10b36e5d74c7
MD5 16617755aecc9e1f6611362da2f16ff5
BLAKE2b-256 b265782e56f6332fd27e689e98cf0664f613a37d95edbcc90c0c82b2551ad080

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for exoclaw_github-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b884e9d9485cadc93da6bc439eb5052b9a36bced4af3b459829168f0a1ec94a9
MD5 96c827aea5cfc0a93ac21aa15833bc2d
BLAKE2b-256 c6321f09261c32822bdd50e599af707ba2b86dfc1c07e5840d13f8224bcc4010

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