Skip to content

Add Claude Code GitHub Workflow - #366

Merged
ddaspit merged 4 commits into
mainfrom
add-claude-github-actions-1789168505315
Sep 14, 2026
Merged

ddaspit merged 4 commits into
mainfrom
add-claude-github-actions-1789168505315

Conversation

@ddaspit

@ddaspit ddaspit commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

🤖 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!


This change is Reviewable

@codecov-commenter

codecov-commenter commented Sep 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.10%. Comparing base (6639917) to head (51bec4a).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #366   +/-   ##
=======================================
  Coverage   92.10%   92.10%           
=======================================
  Files         389      389           
  Lines       24559    24559           
=======================================
  Hits        22620    22620           
  Misses       1939     1939           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Enkidu93 Enkidu93 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry - I missed this PR somehow!

@Enkidu93 reviewed 2 files and all commit messages, and made 2 comments.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on ddaspit).


.github/workflows/claude.yml line 43 at r1 (raw file):

            actions: read

          # Optional: Give a custom prompt to Claude. If this is not specified, Claude will perform the instructions specified in the comment that tagged it.

Do you want to keep these commented-out optional extras (from some template I'm guessing?)? Same in other yml.

@ddaspit ddaspit left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ddaspit made 1 comment.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on Enkidu93).


.github/workflows/claude.yml line 43 at r1 (raw file):

Previously, Enkidu93 (Eli C. Lowry) wrote…

Do you want to keep these commented-out optional extras (from some template I'm guessing?)? Same in other yml.

This was created from a template. I would rather just keep them in case we want to use them later.

@Enkidu93 Enkidu93 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

@Enkidu93 made 2 comments and resolved 1 discussion.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on ddaspit).


.github/workflows/claude.yml line 43 at r1 (raw file):

Previously, ddaspit (Damien Daspit) wrote…

This was created from a template. I would rather just keep them in case we want to use them later.

OK, fine by me. Just making sure you meant to.

ddaspit and others added 4 commits September 14, 2026 15:50
Secrets are withheld from workflows triggered by pull requests from forked
repositories, so the review job cannot authenticate on those runs. Guard the
job so it is skipped instead of failing.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Aligns the generated Claude workflows with the version already used
elsewhere in ci.yml and docker-build-push.yml.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@ddaspit
ddaspit force-pushed the add-claude-github-actions-1789168505315 branch from 449786b to 51bec4a Compare September 14, 2026 19:50
@ddaspit
ddaspit merged commit b09498c into main Sep 14, 2026
18 checks passed
@ddaspit
ddaspit deleted the add-claude-github-actions-1789168505315 branch September 14, 2026 20:03
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.

3 participants