Repository navigation
Harden Action and add pages, cache and php_version inputs - #5
Merged
Merged
Conversation
…utputs - pass inputs through env vars to prevent script injection - download pinned versions from GitHub releases (cecil.app no longer hosts < 9) - fail on download errors, verify SHA-1 checksum when available - default PHP to 8.3 (Cecil 9 requirement), configurable via php_version - add optional pages and cache inputs, output_dir and cecil_version outputs - don't override user-provided --baseurl, show Composer errors - test on Ubuntu, macOS and Windows, run on pull requests Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes
${{ }}interpolation in scripts (script injection).cecil.app/download/8.x/cecil.pharreturns 404.curl -fso a failed download is reported; phar stored in$RUNNER_TEMP.8.3instead ofpre-installed(8.1 on ubuntu-22.04, Cecil 9 requires 8.3+).$?check removed.--baseurlis only added when not already inoptions.composer installno longer--quiet(errors were hidden).Cecilapp/Actioninstead of the redirectedCecilapp/Cecil-Action.Improvements
pagesinput (defaulttrue) to skip GitHub Pages setup/upload.cacheinput (defaulttrue): Composer and Cecil.cachecaching.php_versioninput; boolean inputs acceptyes/true/1/on.output_dirandcecil_versionoutputs; explicit error when output dir is missing.--outputcase.Since the default PHP version changes, this should be released as a minor version (4.2.0).
🤖 Generated with Claude Code