Skip to content

Use the consolidated PHP and JavaScript check workflows - #46

Open
jeremyfelt wants to merge 2 commits into
trunkfrom
task/consolidated-checks
Open

Use the consolidated PHP and JavaScript check workflows#46
jeremyfelt wants to merge 2 commits into
trunkfrom
task/consolidated-checks

Conversation

@jeremyfelt

Copy link
Copy Markdown
Member

Replaces the single-purpose check workflows with the consolidated php-checks and js-checks workflows from happyprime/workflows.

Each consolidated workflow pays for checkout, language setup, and dependency install once instead of once per check, and runs every check it finds configured so a single push reports every problem at once.

What this changes here

  • Adds .github/workflows/php-checks.yml and .github/workflows/js-checks.yml.
  • Removes phpcs.yml, phpstan.yml.
  • PHP configuration detected: PHPCS (phpcs.xml), PHPSTAN (phpstan.neon.dist).
  • npm scripts detected: ESLint (npm run lint), package.json lint (npm run lint:package).

Checks running in CI here for the first time

These are configured in the repository but had no workflow, so this pull request is the first time they run. A failure below is a pre-existing issue this surfaces, not something this pull request introduces:

  • ESLint
  • package.json lint

A check that is configured but cannot run (missing binary, missing bin/install-wp-tests.sh, a config with no npm script) is skipped and reported in a pull request comment rather than failed.

Once this is merged the two files move under sync management in happyprime/projects.

🤖 Generated with Claude Code

Replaces the single-purpose check workflows with the consolidated php-checks and js-checks workflows from happyprime/workflows.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown

✅ Plugin Check passed

No errors or warnings from plugin check --categories=plugin_repo.

- lint:js='eslint .'
- lint:package scoped to the repository's own package.json
- coding-standards=0.0.6 phpstan=1.12.34

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant