You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLAUDE.md
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,12 +20,10 @@ This file provides guidance to agentic coding tools when working with code in th
20
20
10.**GitHub Secrets**: Set up required secrets using 1Password CLI and GitHub CLI:
21
21
22
22
```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
29
27
```
30
28
31
29
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