Add Copilot guidelines and setup workflow for WP Rocket #7483
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.
Description
Won't impact users.
Setup the guidelines for CoPilot
Type of change
Detailed scenario
What was tested
None
How to test
None
Technical description
Documentation
This pull request introduces a set of guidelines for contributing to the WP Rocket plugin and a new GitHub Actions workflow for automated setup and testing. These changes aim to standardize development practices and streamline the CI/CD process.
Contribution Guidelines
COPILOT_GUIDELINES.md
file outlining coding standards, project architecture, testing practices, and development workflows for WP Rocket. This includes PHP coding standards, JavaScript and CSS guidelines, and instructions for writing tests and fixtures.CI/CD Workflow
copilot-setup-steps.yml
GitHub Actions workflow to automate the setup and testing of WP Rocket. This workflow installs PHP, Composer, Node.js, and project dependencies, and runs PHPCS, PHPStan, and PHPUnit tests on pushes and pull requests tomain
andtest/*
branches.New dependencies
None
Risks
None
Mandatory Checklist
Unticked items justification
Not relevant because it's only markdown files.