Skip to content

Delete the two unused locals in the composite action script - #11

Open
kridaydave wants to merge 1 commit into
mainfrom
k5/pass-taproot-drop-dead-action-vars
Open

kridaydave wants to merge 1 commit into
mainfrom
k5/pass-taproot-drop-dead-action-vars

Conversation

@kridaydave

Copy link
Copy Markdown
Contributor

Delete the two locals in the composite action script that nothing reads.

escape_wf_colon is defined at scripts/run.sh:41 and never called. Its only
reference anywhere in the tree is its own definition. REGISTRY_PATH is
assigned at scripts/run.sh:11 from the registry-path action input and never
read, so the input the action advertises has never reached any behavior.

escape_wf stays. It has four live callers.

Neither removal touches a code path, so drift and verify behavior are
unchanged. Verified by running the action's own remote-baseline path against a
stubbed registry with a fake curl on PATH and comparing the Authorization
header byte for byte before and after; the header is identical.

Not shipped: the registry-path action input itself is left in place.
Removing a documented input is an API change, which is the owner's call.

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.

1 participant