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
{{ message }}
Repository navigation
Commit bb6fd9d
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/upgrading/v2-to-v3.md
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ Fifteen breaks (the ninth is for library consumers). One is silent (the fallback
20
20
| One redacted label in every mode | A single-repository run labelled its hidden target `private repository`; a fleet numbered them `private repository #N`|`private repository #N` everywhere; a run over one repository is `#1`| No error. A log filter or artifact-report reader matching `private repository:` exactly no longer matches; [section 10](#10-one-redacted-label-in-every-mode)|
21
21
| Two live items under one identity fail the section | The last one listed won silently in most sections | Every list section refuses, naming the pair | The section fails until one is deleted on GitHub; [section 11](#11-two-live-items-under-one-identity-fail-the-section)|
22
22
| The webhook snapshot placeholder |`$WEBHOOK_SECRET_<id>`|`$SECRET_WEBHOOK_<id>`| No error: an old reference keeps resolving from its old export; a new snapshot writes the new name, so move both together; [section 12](#12-the-webhook-snapshot-placeholder-leads-with-secret_)|
23
-
| One wording per concept in drift lines and notes |Six spellings of "cannot verify", seven of "left out", quoted webhook labels | One template each | Only a grep over the output notices; [section 13](#13-one-wording-per-concept-in-drift-lines-and-notes)|
23
+
| One wording per concept in drift lines and notes |Per-section spellings of "cannot verify", "left out", and field drift; quoted webhook labels | One template each on the converted sites| Only a grep over the output notices; [section 13](#13-one-wording-per-concept-in-drift-lines-and-notes)|
24
24
| Webhooks manage web hooks only | A service hook was matched and deleted like any other | A service hook or url-less hook is outside the section | It is left alone and noted by snapshot; [section 14](#14-webhooks-manage-web-hooks-only)|
25
25
| A ruleset without `source_type` is repository-owned | Kept with a note under `_undeclared: delete`| Deleted like any other undeclared repository ruleset |[section 15](#15-a-ruleset-without-source_type-is-repository-owned)|
26
26
@@ -213,15 +213,20 @@ Every snapshot secret now leads with `SECRET_`, the store name second. A file ho
213
213
214
214
## 13. One wording per concept in drift lines and notes
215
215
216
-
Anything that greps the check output for these lines needs the new spelling:
216
+
Anything that greps the check output for these lines needs the new spelling. Two templates reach only the sites this release converts:
217
+
218
+
- the cannot-verify line: the webhook secret and the write-only `check_suite_preferences` note;
219
+
- the left-out line: rulesets, webhooks, and the secondary snapshot reads (actions, environments, repository) a denied grant skips under `on-missing-permission: warn`; a denied primary read still says `skipped`.
220
+
221
+
The other cannot-verify and omission notes (interaction_limits, teams, collaborators) keep their v2 line until a later release.
217
222
218
223
| Line | v2 | v3 |
219
224
|---|---|---|
220
225
| A webhook's label | `webhooks["https://ci.example.com/hook"].active` | `webhooks[https://ci.example.com/hook].active` |
221
226
| A field mismatch (milestones, rulesets, collaborators, teams, every list section) | `milestones[v1].state: "closed"!= "open"` and `teams[platform]: live role "read" != declared "write"` | `milestones[v1].state: declared "closed" != live "open"; apply will set the declared value` |
222
227
| A webhook's events | `... declared [...] != live [...] (compared order-insensitively)` | one line per element: `webhooks[<url>].events: missing "release"`|
223
228
| A value check mode cannot compare | `... so the declared value cannot be verified; apply re-sends it on every run so rotations propagate` | `<label>: <why>, so check mode cannot verify <what>; apply <re-sends it> on every run` |
224
-
| A resource a snapshot reads but does not declare | `rulesets[x]: inherited from the organization ..., so it is not part of the repository's snapshot` and `teams[x]: ...; not declared` | `<label>: left out of the snapshot - <reason>` |
229
+
| A resource a snapshot reads but does not declare | `rulesets[x]: inherited from the organization ..., so it is not part of the repository's snapshot` | `<label>: left out of the snapshot - <reason>` |
225
230
| A ruleset update's change line | `updated ruleset "main" (id 42)` | `updated ruleset "main"` |
226
231
| A milestone delete's change line | `DELETED undeclared milestone "v0.9" (detached from every issue that carried it)` | `DELETED undeclared milestone "v0.9"` (the drift line beside it still names the detaching) |
0 commit comments