Skip to content

Templates: pin the gitgalaxy action and lockfile markers to main's f674bfffe (#4918) - #6966

Merged
squid-protocol merged 1 commit into
mainfrom
template-pin-4918
Oct 29, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
template-pin-4918

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Closes the last open item of #4918 without cutting a release (a release triggers the PyPI publish and the GitLab sync).

Checklist: the templates/github/gitgalaxy-pipeline.yml action pin (#4918's remaining item).

Change

  • uses: pin. The three squid-protocol/gitgalaxy@8cfa3b2… # v2.4.0 steps ran an action that installs unpinned. They now pin f674bfffe (main, Lockfiles: compile from a Python 3.11 floor (Part of #3322) #6530). Its action.yml installs gitgalaxy==2.11.0 from templates/requirements/ with --require-hashes. Same tool / target inputs, and all three tools are in its option list.
  • Lockfile markers. GG_REF in all five templates named 04c85c32f, Lockfiles: compile from a Python 3.11 floor (Part of #3322) #6530's branch commit. The squash merge left it off main, and it's reachable only through the PR ref. I re-stamped the markers with stamp_template_pins.py f674bfffe… (the main commit, same lockfiles: git diff f674bfffe origin/main -- templates/requirements action.yml is empty).
  • NOTE rewritten: pinned to a main commit until a release ships the lockfiles, and re-stamp on main, never on a PR branch.

Tests

test_shipped_pip_pins.py: 22 pass. pr_gates.py --fast: 9/9 pass.

Class / Sibling gaps

Class: template pins that name a commit main may not keep. Covered: every marker and uses: in templates/. Gap: stamp_template_pins.py still defaults to the current checkout's history, so running it on a PR branch repeats this. The NOTE warns about it; a guard (refuse a ref that isn't an ancestor of origin/main) is a follow-up.

Closes #4918

🤖 Generated with Claude Code

…f674bff (#4918)

The last open #4918 item. The three `uses: squid-protocol/gitgalaxy@...# v2.4.0` steps ran an
action that installs unpinned; they now run the action at f674bff (#6530), whose action.yml
installs v2.11.0 from templates/requirements/ with --require-hashes. Same tool/target inputs.

The GG_REF lockfile markers in all five templates named 04c85c3, #6530's branch commit, which
the squash merge left off main (alive only through the PR ref). Re-stamped with
stamp_template_pins.py to f674bff, the main commit with the same lockfiles; the NOTE now says
to stamp on main, never on a PR branch.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@squid-protocol
squid-protocol merged commit 3fefe1b into main Oct 29, 2026
35 checks passed
@squid-protocol
squid-protocol deleted the template-pin-4918 branch October 29, 2026 02:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🛰️ GitGalaxy found a supply-chain risk in GitGalaxy: unpinned pip installs in 20+ pipelines, including the CI templates we ship

1 participant