Skip to content

fix(ci): harden SDK mirror workflow inputs - #259

Merged
MaxRev-Dev merged 2 commits into
mainfrom
fix/sdk-mirror-hardening
Oct 31, 2026
Merged

MaxRev-Dev merged 2 commits into
mainfrom
fix/sdk-mirror-hardening

Conversation

@MaxRev-Dev

Copy link
Copy Markdown
Owner

Pass mirror workflow inputs through environment variables and validate the zip filename and URL before downloading. Use HTTPS for the Windows SDK fallback; keep the SHA256 placeholder unchanged.

Verification: actionlint and git diff --check passed. Seven shell validation cases passed. Node HEAD requests to the HTTP and HTTPS SDK path both returned 200 with matching ETag and content length.

@MaxRev-Dev MaxRev-Dev left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Scope: .github/workflows/mirror-gisinternals-sdk.yml and win/partials.psm1. Independent local review and correction re-review completed against this head.

Findings: one P2 was resolved in the workflow checksum and release asset commands by prefixing file operands with ./, allowing leading-hyphen filenames safely. No remaining findings. Inputs use environment variables, filename and URL validation runs before download, and the SHA256 placeholder is unchanged.

Validation: actionlint and git diff --check passed; seven shell validation cases passed. HTTP and HTTPS Node HEAD requests returned 200 with matching ETag and content length. Ready for merge subject to required checks; CI was not watched.

@MaxRev-Dev
MaxRev-Dev merged commit aa58c26 into main Oct 31, 2026
1 of 6 checks passed
@MaxRev-Dev
MaxRev-Dev deleted the fix/sdk-mirror-hardening branch October 31, 2026 01:26
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