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
Wire parity autofix to existing OVVO_SYNC_TOKEN / PARITY_APP_TOKEN secrets
Use the repo's existing GitHub PAT secrets instead of a new
PARITY_DISPATCH_TOKEN: OVVO_SYNC_TOKEN emits the inspect->autofix
repository_dispatch, PARITY_APP_TOKEN opens the fix PR. Document that
ANTHROPIC_API_KEY is a separate Anthropic credential and is still required.
Copy file name to clipboardExpand all lines: docs/parity_autofix.md
+12-4Lines changed: 12 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,10 +77,18 @@ workflows:
77
77
78
78
`inspect-r-api-update` chains to `parity-autofix` via a `repository_dispatch`,
79
79
which the default `GITHUB_TOKEN` cannot emit. To enable the automatic chain, add
80
-
a PAT with `contents: write` (or `repo`) scope as the `PARITY_DISPATCH_TOKEN`
81
-
secret. Without it, `inspect-r-api-update` prints the manual trigger command and
82
-
you run `parity-autofix` yourself via **workflow_dispatch** (inputs: `r_commit`,
83
-
`r_version`).
80
+
a fine-grained PAT with **Contents: read and write** on `NNS-python` as the
81
+
`OVVO_SYNC_TOKEN` secret. Without it, `inspect-r-api-update` prints the manual
82
+
trigger command and you run `parity-autofix` yourself via **workflow_dispatch**
83
+
(inputs: `r_commit`, `r_version`).
84
+
85
+
## Secret summary
86
+
87
+
| Secret | Kind | Used for | Required? |
88
+
| --- | --- | --- | --- |
89
+
|`ANTHROPIC_API_KEY`| Anthropic key (`sk-ant-…`, from console.anthropic.com) | authenticate the agent to Claude |**yes** — a GitHub token does not work here |
90
+
|`PARITY_APP_TOKEN`| GitHub fine-grained PAT (Contents R/W, Pull requests R/W) | open the fix PR so CI runs on it | recommended |
91
+
|`OVVO_SYNC_TOKEN`| GitHub fine-grained PAT (Contents R/W) | emit the `inspect -> autofix``repository_dispatch`| optional (manual trigger otherwise) |
0 commit comments