Skip to content

Add Claude Code GitHub Workflow - #1

Merged
axisrow merged 2 commits into
mainfrom
add-claude-github-actions-1770563178475
Feb 8, 2026
Merged

Add Claude Code GitHub Workflow#1
axisrow merged 2 commits into
mainfrom
add-claude-github-actions-1770563178475

Conversation

@axisrow

@axisrow axisrow commented Feb 8, 2026

Copy link
Copy Markdown
Owner

🤖 Installing Claude Code GitHub App

This PR adds a GitHub Actions workflow that enables Claude Code integration in our repository.

What is Claude Code?

Claude Code is an AI coding agent that can help with:

  • Bug fixes and improvements
  • Documentation updates
  • Implementing new features
  • Code reviews and suggestions
  • Writing tests
  • And more!

How it works

Once this PR is merged, we'll be able to interact with Claude by mentioning @claude in a pull request or issue comment.
Once the workflow is triggered, Claude will analyze the comment and surrounding context, and execute on the request in a GitHub action.

Important Notes

  • This workflow won't take effect until this PR is merged
  • @claude mentions won't work until after the merge is complete
  • The workflow runs automatically whenever Claude is mentioned in PR or issue comments
  • Claude gets access to the entire PR or issue context including files, diffs, and previous comments

Security

  • Our Anthropic API key is securely stored as a GitHub Actions secret
  • Only users with write access to the repository can trigger the workflow
  • All Claude runs are stored in the GitHub Actions run history
  • Claude's default tools are limited to reading/writing files and interacting with our repo by creating comments, branches, and commits.
  • We can add more allowed tools by adding them to the workflow file like:
allowed_tools: Bash(npm install),Bash(npm run build),Bash(npm run lint),Bash(npm run test)

There's more information in the Claude Code action repo.

After merging this PR, let's try mentioning @claude in a comment on any PR to get started!

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@axisrow
axisrow merged commit 22231bd into main Feb 8, 2026
1 check passed
@axisrow
axisrow deleted the add-claude-github-actions-1770563178475 branch February 10, 2026 09:48
@claude claude Bot mentioned this pull request Jun 12, 2026
axisrow added a commit that referenced this pull request Jul 8, 2026
…ad-timeout (#101 P0) (#102)

* fix(security): drop PASSWORD_SECRET from proxy env + add slowloris read-timeout

Two P0 unauthenticated-security fixes from the #101 code review.

#1 (entrypoint.sh): `runuser` (without --login) inherits the caller's whole
environment, so an operator-supplied `-e PASSWORD_SECRET=...` landed in the
proxy's /proc/<pid>/environ — readable by any TTYD_USER process and enough to
forge session/CSRF tokens. `unset PASSWORD_SECRET` after writing the secret file
and before launching the proxy makes the mode-400 file the only channel, as
CLAUDE.md guarantees.

#2 (app/ttydproxy): BaseHTTPRequestHandler had no read timeout, so a slow client
(slowloris) pinned a ThreadingHTTPServer worker forever (the login rate-limiter
only fires after the slow window). Add a config-driven REQUEST_TIMEOUT (default
30s, min 1) applied as the handler's `timeout` class attribute. Implemented in
config.py + app.py (the handler subclass) rather than the stdlib-only server.py
so the value stays env-configurable and validated.

Closes #101 findings #1, #2.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KgvJhzd8gEhXVE4MVu18nn

* test: assert handler timeout is wired to config value (review cleanup)

Non-blocking review nitpick from the local review of #102: the timeout test
only asserted `> 0`. Also assert `TTYDProxyHandler.timeout == config.REQUEST_TIMEOUT`
so a regression that hard-codes or drops the config wiring is caught.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KgvJhzd8gEhXVE4MVu18nn

---------

Co-authored-by: axisrow <axisrow@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant