Skip to content

Commit 6273c36

Browse files
committed
chore: update 1p instruction
1 parent b99a8d3 commit 6273c36

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

CLAUDE.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,10 @@ This file provides guidance to agentic coding tools when working with code in th
2020
10. **GitHub Secrets**: Set up required secrets using 1Password CLI and GitHub CLI:
2121

2222
```bash
23-
# Authenticate to 1Password (use my.1password.com account)
24-
eval $(op signin --account my.1password.com)
25-
26-
# Set GitHub App secrets from "Mixiebot GitHub" entry
27-
op item get "Mixiebot GitHub" --account my.1password.com --fields "app id" | gh secret set APP_ID
28-
op item get "Mixiebot GitHub" --account my.1password.com --fields "private key" | gh secret set APP_PRIVATE_KEY
23+
# Set GitHub App secrets from "Mixiebot GitHub" 1Password entry
24+
# Note: Use --format json | jq -r to extract raw values without quotes
25+
op item get "Mixiebot GitHub" --account my.1password.com --fields "app id" --format json | jq -r '.value' | gh secret set APP_ID
26+
op item get "Mixiebot GitHub" --account my.1password.com --fields "private key" --format json | jq -r '.value' | gh secret set APP_PRIVATE_KEY
2927
```
3028

3129
For `CLAUDE_CODE_OAUTH_TOKEN`: Tell the user to open Claude Code and run the `/install-github-app` command, which will guide them through setting up the GitHub app and automatically add the secret to their repository. Note: The user must be a repository admin to install the GitHub app and add secrets.

0 commit comments

Comments
 (0)