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.4.tar.gz (13.5 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.4-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: exoclaw_github-0.1.4.tar.gz
  • Upload date:
  • Size: 13.5 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.4.tar.gz
Algorithm Hash digest
SHA256 41d6e7634c320816ee1494f9cbaa58b95562dd40d8151fcfa4b9ccf4407da2eb
MD5 55c032f227981dcd19de1ae84e06c3fb
BLAKE2b-256 febcc8cec389790968e73d3ce32e5b3c0f6e73a7ea6d87d34c87854adca200df

See more details on using hashes here.

File details

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

File metadata

  • Download URL: exoclaw_github-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 12.9 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0efdfa7b6ba1bf6c8aeaef081013348841c3624001fc5a855ea85d16d494e89e
MD5 909ba3f3b6a8157e9d9417523286d0b2
BLAKE2b-256 500384d9c74e1f417fa6c59dacee189151c14a81adeb1d32f6d3d338faf61d39

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