Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · claude-code

Claude Code GitHub Actions changedgithub-actions

Nearest release: v2.1.328, published 3 hours before upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Upstream edited this page at 19 Nov 2026 02:16 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 19 Nov 2026 02:37 UTC.

Upstream edited
Recorded here
Lines+40added
Lines−15removed
From line 15 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits20to this page, all time

The whole hunk

from line 15, old and new numbered
/
lines
from line 15
1515 
1616You can set up the Claude Code GitHub Action in one of two ways:
1717 
18* **Quick setup**: run `/install-github-app` from Claude Code. Claude Code installs the GitHub App, adds your authentication secret, and prepares the workflow pull request for you
18* **Quick setup**: run `/install-github-app` from Claude Code, which sets up the authentication secret and workflow files for you
1919* **Manual setup**: install the app, add the secret, and copy the workflow file into your repository yourself. Use this path when you don't run Claude Code locally, when the command fails, or when you want full control of the workflow files
2020 
2121For either path, you need admin access to the repository.
from line 24
2424 
2525`/install-github-app` works only with github.com repositories. If your repository's git remote is on gitlab.com or bitbucket.org, the command prints a notice and exits instead of starting setup. To run Claude Code from GitLab pipelines, see [Claude Code GitLab CI/CD](https://code.claude.com/docs/en/gitlab-ci-cd.md).
2626 
27Before you start, install the [GitHub CLI](https://cli.github.com) and authenticate it with `gh auth login`. Claude Code checks for it and warns you if it's missing.
27During quick setup, you install the Claude GitHub App in your browser, then create and merge a pull request.
2828 
29Open `claude` in the repository you want to connect, run `/install-github-app`, and follow the prompts. Claude Code installs the Claude GitHub App, then sets up an authentication secret for the workflows:
29**1. Sign in to the GitHub CLI**
3030 
31* If Claude Code already has an API key, it reuses that key, and offers to keep the repository's existing `ANTHROPIC_API_KEY` secret if one is already set
32* Otherwise, choose between creating a long-lived token with your Claude subscription and pasting in an API key
31Install the [GitHub CLI](https://cli.github.com). If you aren't signed in yet, run `gh auth login` in your shell.
3332 
34Claude Code saves the credential as a repository secret, named `ANTHROPIC_API_KEY` for an API key or `CLAUDE_CODE_OAUTH_TOKEN` for a subscription token.
33**2. Start setup from Claude Code**
3534 
36Claude Code then pushes a branch with the workflow files you select, already set to use that secret, and opens GitHub in your browser with a pull request ready to create. Create and merge that pull request, and `@claude` works in the repository.
35In your shell, run `claude` in the repository you want to connect. At the Claude Code prompt, run `/install-github-app`.
3736 
38To stop setup partway through, press Esc. A step already in progress finishes, and no later step starts. The closing message lists what already happened in the repository, such as a pushed branch or a saved secret.
37If setup reports missing GitHub CLI permissions, run the command it prints and start again.
3938 
39**3. Install the Claude GitHub App**
40 
41When the [Claude GitHub App](https://github.com/apps/claude) page opens in your browser, install the app and give it access to your repository. Then return to Claude Code and press Enter.
42 
43**4. Select the workflows**
44 
45Select **Set up GitHub Actions workflows**. To stop with only the app installed, decline the workflow setup and run `/install-github-app` again later.
46 
47In the workflow list, deselect the `@claude` mentions workflow or the pull request review workflow if you don't want both.
48 
49If the repository already has a `claude.yml` workflow file, an update prompt replaces the workflow list. To keep your file, select **Skip workflow update (configure secrets only)**, then skip the pull request step.
50 
51**5. Choose a credential for the workflows**
52 
53When asked, choose between creating a long-lived token with your Claude subscription and pasting in an API key. If Claude Code already has an API key, you skip this question and use that key.
54 
55By default, Claude Code saves the credential as a repository secret, named `ANTHROPIC_API_KEY` for an API key or `CLAUDE_CODE_OAUTH_TOKEN` for a subscription token.
56 
57**6. Confirm the changes**
58 
59When Claude Code lists the planned changes to your repository, select **Yes, make these changes**.
60 
61**7. Create and merge the pull request**
62 
63Claude Code pushes a branch with the workflow files, already set to use your secret, and opens GitHub with a pull request ready for you to create. Create and merge that pull request to turn on the workflows. To test mentions, tag `@claude` in an issue comment.
64 
65To stop setup partway through, press Esc in Claude Code. Claude Code finishes any change it's already writing to the repository and doesn't start new ones. The closing message lists what already happened in the repository, such as a pushed branch or a saved secret.
66 
4067If you select the review workflow, Claude posts each review on the pull request itself, as an inline comment on each issue it finds or as one summary comment when it finds none. Claude skips some pull requests, such as drafts. The [review workflow example](#run-a-skill) uses the same skill and lists them. Before v2.1.229, Claude wrote its review only to the workflow run log.
4168 
4269To update a review workflow that an earlier version generated, do one of the following:
from line 70
4370 
4471* Run `/install-github-app` again. When the repository already has a `claude.yml`, select **Update workflow file with latest version**. Claude Code pushes fresh copies of the workflow files to a new branch and opens the pull request, the same as a first install.
4572* Add the `--comment` argument and the `claude_args` line from the [review workflow example](#run-a-skill) to the checked-in file yourself, which keeps any other edits you made to it.
46 
47After installing the GitHub App, Claude Code asks whether to continue with GitHub Actions setup. Choose **Skip for now** to stop with only the GitHub App installed. Run `/install-github-app` again later to finish the workflow and secret steps.
4873 
4974> [!NOTE]
5075>
Feedback