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.2.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.2.0-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: exoclaw_github-0.2.0.tar.gz
  • Upload date:
  • Size: 12.2 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.2.0.tar.gz
Algorithm Hash digest
SHA256 ea5f132ef3c4ea1732f66822931efb439d961e75f72957ca64ed2e22d9cdaae9
MD5 3e26d34dbd07d0956df0c8f0a8d2d222
BLAKE2b-256 28613afd05efcd36b841f474e2c7e82d974414c272b2a073a865c63ebb9e7ac2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: exoclaw_github-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 12.4 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ed0139667c84f47e6d42baf6abfa61b0bb9ca08784d6910ad801c4db95759603
MD5 c048dc669fa89046358b8545e8391076
BLAKE2b-256 936e5ab39cf4efe4c7dda3367989053be11595b6fb29e72b1b8a6248cb8fbb0b

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