Repository navigation
GH Actions: pin all actions to commit SHAs and add image compression - #204
Merged
Merged
Conversation
Pin every `uses:` reference in .github/workflows to the commit its current tag or branch points at, with the version as a trailing comment. No major versions change. Branch refs (checkout@main, 10up deploy@develop, 10up asset-update@stable, Shopify upload-to-release@master) are pinned to their current head. Dependabot already covers github-actions and will keep the pins current. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Add calibreapp/image-actions, as used in brand-assets, to losslessly compress images (such as the .wordpress-org assets) added or changed in same-repo pull requests. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
|
Test on Playground |
Replace the pin on an unreleased actions/checkout main commit with the v7.0.1 pin used by every other workflow, so Dependabot can keep it current. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
🔍 WordPress Plugin Check Report
📊 Report
|
| 📍 Line | 🔖 Check | 💬 Message |
|---|---|---|
0 |
textdomain_mismatch | The "Text Domain" header in the plugin file does not match the slug. Found "yoast-comment-hacks", expected "comment-hacks". |
🤖 Generated by WordPress Plugin Check Action • Learn more about Plugin Check
Update phpunit/phpunit (9.6.26 => 9.6.39), squizlabs/php_codesniffer (3.13.5 => 3.13.6) and symfony/filesystem (7.3.2 => 7.4.23), with their dependencies, to clear CVE-2026-24765, CVE-2026-67434 and GHSA-6prc-h956-hxjq. This also moves symfony/process past CVE-2026-24739. Only composer.lock changes; all are development dependencies. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Composer package changes
|
The scheduled run was limited to the old 'Emilia-Capital' owner, so it has been skipped every week since the repository moved to ProgressPlanner. Co-Authored-By: Claude Fable 5.2 <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.
Summary
CI housekeeping following the workflow audit of 2026-11-18.
Pin all actions. Every
uses:reference in.github/workflows(35 of them) is now pinned to the full commit SHA of the version it referenced, with the version as a trailing comment. No major versions change.Branch refs are pinned to their current head:
10up/action-wordpress-plugin-deploy@develop,Shopify/upload-to-release@master, and10up/action-wordpress-plugin-asset-update@stable(same commit as tag2.2.0).ramsey/composer-install@v4andmarocchino/sticky-pull-request-comment@v3are branches upstream, not tags, and are pinned the same way.update-readme.ymlusedactions/checkout@main; it now uses the same v7.0.1 pin as every other workflow.Add
image-actions.yml(calibreapp/image-actions), copied from brand-assets, to losslessly compress images such as the.wordpress-orgassets in same-repo pull requests. Top-level permissions arecontents: read; the job getscontents: writeandpull-requests: write.Update flagged dev dependencies. The Security check failed on three packages in
composer.lock:phpunit/phpunit(9.6.26 → 9.6.39),squizlabs/php_codesniffer(3.13.5 → 3.13.6) andsymfony/filesystem(7.3.2 → 7.4.23). They are updated together with their dependencies;composer auditnow reports no advisories. Only the lock file changes.Re-enable the weekly security scan. The scheduled run in
security.ymlwas limited to the oldEmilia-Capitalowner, so it was skipped every week since the repository moved; it now checks forProgressPlanner..github/dependabot.ymlalready has a weeklygithub-actionsentry, so the pins stay current without changes there.Testing
actionlintpasses on all 15 workflow files.uses:lines.composer check-cs,composer phpstanandcomposer lintpass with the updated dependencies. No plugin PHP was touched.Notes
readme-preview.ymlwas already pinned tojdevalk/plugin-page-preview@3b44ebf # v1; thev1tag has since moved to2200faa. Left as is for Dependabot.🤖 Generated with Claude Code