Skip to content

Conversation

@GaryJones
Copy link
Contributor

This pull request enhances the plugin's development infrastructure with security hardening and standardisation.

Summary

  • Harden all GitHub Actions with pinned SHAs and security best practices
  • Add Dependabot for automated dependency management
  • Rename integrations.yml to integration.yml for consistency
  • Standardise .gitignore and .distignore
  • Update Composer scripts with consistent naming

Test plan

  • Verify all CI workflows run correctly
  • Check Dependabot configuration is valid
  • Verify integration tests still work

🤖 Generated with Claude Code

GaryJones and others added 3 commits December 13, 2025 01:25
Comprehensive standardisation to align with other Automattic plugins:

- Renames integrations.yml to integration.yml for consistent naming
- Adds Dependabot configuration for automated dependency updates
- Updates composer.json to use yoast/wp-test-utils instead of phpunit-polyfills
- Renames test-integration to test:integration for script naming consistency
- Pins all GitHub Actions to specific commit SHAs to prevent supply chain attacks
- Adds explicit permissions blocks (least privilege)
- Adds persist-credentials: false to checkout actions
- Fixes template injection vulnerabilities using environment variables

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Updates .gitignore with section headers and adds .wp-env.override.json
exclusion. Updates .distignore with consistent patterns matching other
plugins in the organisation.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Composer scripts use colons (test:integration) not hyphens.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@GaryJones GaryJones self-assigned this Dec 14, 2025
@GaryJones GaryJones added the type: maintenance Routine maintenance and code quality improvements label Dec 14, 2025
@GaryJones GaryJones merged commit c8144bc into develop Dec 14, 2025
8 checks passed
@GaryJones GaryJones deleted the standardize/configs-and-ci branch December 14, 2025 02:49
@GaryJones GaryJones added this to the Next milestone Dec 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: maintenance Routine maintenance and code quality improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants