From 4d57144160db309757e742942c4a63f29d7466c0 Mon Sep 17 00:00:00 2001 From: error-path <202101475@daiict.ac.in> Date: Fri, 27 Nov 2026 15:06:10 +0530 Subject: [PATCH] docs(maintaining): say the dogfood pin is read from the base commit Co-Authored-By: Claude Opus 5.5 --- docs/maintaining.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/maintaining.md b/docs/maintaining.md index bc296df..c12577e 100644 --- a/docs/maintaining.md +++ b/docs/maintaining.md @@ -65,7 +65,9 @@ npm, and finishing. 7. Merge the pins PR when CI passes. The plugin directory follows `main`, so a pin merged before npm has the version would point at a version that does not exist yet; that is why it comes last. The dogfood pin is in a composite action rather than in `opendrs.yml` because a - workflow's token may not change files under `.github/workflows/`. + workflow's token may not change files under `.github/workflows/`. `opendrs.yml` restores + that file from the PR's base commit before running it, so a PR never runs its own copy of the pin: + the pins PR is still scored by the previous release, and the new one applies from the next PR. If a workflow cannot run, every step still works by hand: `npm run release:prepare -- 0.7.2` on a branch and a PR; `git tag v0.7.2 && git push origin v0.7.2` after the merge;