Repository navigation
Commit d43ba9d
committed
Skip prerelease reference PR during a first-stable release window
When a first stable release ships (X.Y.0), quarto-cli immediately
publishes the next prerelease, X.(Y+1).0, but main's _quarto.yml keeps
naming the previous minor until the prerelease -> main release merge.
On 2026-11-02 main still said 1.10 while v1.12.0 existed. Opening or
refreshing the rolling "Update reference pages (prerelease)" PR in that
window regenerates reference pages for the next cycle on top of a
prerelease branch that is about to become stable docs, which the release
merge then has to untangle.
A new release-window job reads main's _quarto.yml version and compares
it with the incoming prerelease version. If the prerelease is more than
one minor ahead (same major), the update job is skipped and a notice
explains why. Otherwise behaviour is unchanged. Gating at job level
also keeps the legacy-PR cleanup and stale-branch deletion from running
in the window. Unparseable versions fail the run instead of silently
skipping the check.
Write permissions move from workflow level to the update job: with two
jobs, zizmor flags workflow-level write grants, and the read-only check
job does not need them.1 parent e568edd commit d43ba9d
1 file changed
Lines changed: 56 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
| 20 | + | |
23 | 21 | | |
24 | 22 | | |
25 | 23 | | |
26 | 24 | | |
27 | 25 | | |
28 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
29 | 77 | | |
| 78 | + | |
| 79 | + | |
30 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
31 | 84 | | |
32 | 85 | | |
33 | 86 | | |
| |||
0 commit comments