Skip to content

GH Actions: pin all actions to commit SHAs and add image compression - #204

Merged
jdevalk merged 5 commits into
developfrom
claude/ci-workflow-gaps-69f4bf
Nov 18, 2026
Merged

jdevalk merged 5 commits into
developfrom
claude/ci-workflow-gaps-69f4bf

Conversation

@jdevalk

@jdevalk jdevalk commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

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, and 10up/action-wordpress-plugin-asset-update@stable (same commit as tag 2.2.0). ramsey/composer-install@v4 and marocchino/sticky-pull-request-comment@v3 are branches upstream, not tags, and are pinned the same way.

  • update-readme.yml used actions/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-org assets in same-repo pull requests. Top-level permissions are contents: read; the job gets contents: write and pull-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) and symfony/filesystem (7.3.2 → 7.4.23). They are updated together with their dependencies; composer audit now reports no advisories. Only the lock file changes.

  • Re-enable the weekly security scan. The scheduled run in security.yml was limited to the old Emilia-Capital owner, so it was skipped every week since the repository moved; it now checks for ProgressPlanner.

.github/dependabot.yml already has a weekly github-actions entry, so the pins stay current without changes there.

Testing

  • actionlint passes on all 15 workflow files.
  • The pin commit's diff contains only uses: lines.
  • composer check-cs, composer phpstan and composer lint pass with the updated dependencies. No plugin PHP was touched.

Notes

  • readme-preview.yml was already pinned to jdevalk/plugin-page-preview@3b44ebf # v1; the v1 tag has since moved to 2200faa. Left as is for Dependabot.

🤖 Generated with Claude Code

jdevalk and others added 2 commits November 18, 2026 12:03
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>
@jdevalk jdevalk added the changelog: non-user-facing Needs to be included in the 'Non-userfacing' category in the changelog label Nov 18, 2026
@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Test on Playground
Test this pull request on the Playground
or download the zip

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>
@github-actions

Copy link
Copy Markdown

🔍 WordPress Plugin Check Report

⚠️ Status: Passed with warnings

📊 Report

🎯 Total Issues ❌ Errors ⚠️ Warnings
1 0 1

⚠️ Warnings (1)

📁 comment-hacks.php (1 warning)
📍 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>
@github-actions

Copy link
Copy Markdown
Composer package changes
Dev Packages Operation Base Target
myclabs/deep-copy Upgraded 1.13.4 1.14.0
nikic/php-parser Upgraded v5.6.1 v5.9.0
phpstan/phpdoc-parser Upgraded 2.3.0 2.4.1
phpunit/phpunit Upgraded 9.6.26 9.6.39
sebastian/comparator Upgraded 4.0.9 4.0.10
sebastian/exporter Upgraded 4.0.6 4.0.9
sebastian/recursion-context Upgraded 4.0.6 4.0.7
squizlabs/php_codesniffer Upgraded 3.13.5 3.13.6
symfony/deprecation-contracts Upgraded v3.6.0 v3.8.1
symfony/filesystem Upgraded v7.3.2 v7.4.23
symfony/polyfill-ctype Upgraded v1.33.0 v1.37.0
symfony/polyfill-mbstring Upgraded v1.33.0 v1.43.3
symfony/polyfill-php80 Upgraded v1.33.0 v1.43.0
symfony/process Upgraded v7.3.3 v7.4.22
theseer/tokenizer Upgraded 1.2.3 1.3.1

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>
@jdevalk
jdevalk merged commit 896624a into develop Nov 18, 2026
14 checks passed
@jdevalk
jdevalk deleted the claude/ci-workflow-gaps-69f4bf branch November 18, 2026 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog: non-user-facing Needs to be included in the 'Non-userfacing' category in the changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant