Skip to content

Rename gh-actions-pin references to gh-actions-lock - #4

Merged
nodeselector merged 1 commit into
mainfrom
nodeselector/rename-actions-pin-to-lockfile
Jun 14, 2026
Merged

Rename gh-actions-pin references to gh-actions-lock#4
nodeselector merged 1 commit into
mainfrom
nodeselector/rename-actions-pin-to-lockfile

Conversation

@nodeselector

@nodeselector nodeselector commented Jun 14, 2026

Copy link
Copy Markdown
Collaborator

The CLI was renamed from gh-actions-pin to gh-actions-lock. This updates all stale references in this repo to match:

  • Schema description (schema/lockfile-v0.0.1.json) -- the human-readable blurb that names the producing tool.
  • Generated Go constant (schema_gen.go) -- regenerated from the updated schema JSON.
  • README -- repo link and the schema-coordination note in the Development section.
  • Code comment in lockfile.go -- example consumer name in the Parse godoc.
  • Negative test assertion in lockfile_test.go -- the "library must not name a specific consumer tool" check now guards against the new name.

Copilot AI review requested due to automatic review settings June 14, 2026 19:19
GitHub Advanced Security started work on behalf of nodeselector June 14, 2026 19:19 View session

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Ready to approve

Changes are straightforward reference updates with only a minor nit in the updated test assertion’s string coverage.

Note: this review does not count toward required approvals for merging.

Pull request overview

Updates this repository’s documentation, schema metadata, generated bindings, and Go package comments/tests to reflect the CLI rename from gh-actions-pin to gh-actions-lockfile, keeping references consistent across the schema and consumer-facing docs.

Changes:

  • Rename tool references in the JSON schema description and regenerate the embedded Go schema constant accordingly.
  • Update README related-project link and development coordination note to point at github/gh-actions-lockfile.
  • Update Go doc comment and the future-version error-message test to reference the new CLI name.
File summaries
File Description
schema/lockfile-v0.0.1.json Updates the schema’s human-readable producer-tool description to the new CLI name.
README.md Updates related project link and schema-change coordination note to the renamed CLI repo.
go/pkg/lockfile/schema_gen.go Regenerates embedded schema string to match the updated schema JSON description.
go/pkg/lockfile/lockfile.go Updates Parse godoc example consumer reference to the new CLI name.
go/pkg/lockfile/lockfile_test.go Updates the “must not name a specific consumer tool” assertion to the new name.

Copilot's findings

Files not reviewed (1)

  • go/pkg/lockfile/schema_gen.go: Generated file
  • Files reviewed: 4/5 changed files
  • Comments generated: 1

Note

Your feedback helps us improve the quality of this feature.
Please use 👍 or 👎 to tell us whether this assessment is correct.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread go/pkg/lockfile/lockfile_test.go Outdated
// must not name a specific wrapping CLI. Consumers append their own
// upgrade instructions off errors.Is(err, ErrFutureVersion).
assert.NotContains(t, msg, "gh-actions-pin", "library message must not name a specific consumer tool")
assert.NotContains(t, msg, "gh-actions-lockfile", "library message must not name a specific consumer tool")
GitHub Advanced Security finished work on behalf of nodeselector June 14, 2026 19:20
The CLI was renamed from gh-actions-pin to gh-actions-lock.
Update schema description, README links, code comments, and the
negative test assertion to match.
@nodeselector
nodeselector force-pushed the nodeselector/rename-actions-pin-to-lockfile branch from 8e210c2 to 53eb5c2 Compare June 14, 2026 19:28
@nodeselector nodeselector changed the title Rename gh-actions-pin references to gh-actions-lockfile Rename gh-actions-pin references to gh-actions-lock Jun 14, 2026
GitHub Advanced Security started work on behalf of nodeselector June 14, 2026 19:29 View session
GitHub Advanced Security finished work on behalf of nodeselector June 14, 2026 19:30
@nodeselector
nodeselector merged commit 997d2e0 into main Jun 14, 2026
8 checks passed
nodeselector added a commit that referenced this pull request Jul 8, 2026
…lockfile

Rename gh-actions-pin references to gh-actions-lock
@nodeselector
nodeselector deleted the nodeselector/rename-actions-pin-to-lockfile branch July 8, 2026 16:35
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.

2 participants