Skip to content

Add baseline GitHub Actions checks#7

Open
jdevalk wants to merge 3 commits into
mainfrom
jdv/wp-github-actions-audit
Open

Add baseline GitHub Actions checks#7
jdevalk wants to merge 3 commits into
mainfrom
jdv/wp-github-actions-audit

Conversation

@jdevalk

@jdevalk jdevalk commented Mar 16, 2026

Copy link
Copy Markdown
Member

Summary

  • add WordPress coding standards checks
  • add PHP linting across supported PHP versions
  • add a Playground PR preview workflow

Why

This plugin had no CI yet. These workflows add low-maintenance quality checks and an easy way to preview PRs.

jdevalk and others added 2 commits March 16, 2026 14:31
- shivammathur/setup-php@v2 doesn't recognise 'php-parallel-lint' as a tool
  name; the canonical name is 'parallel-lint'. This was causing all PHP lint
  matrix jobs to fail with 'parallel-lint: command not found'.
- 10up/wpcs-action requires a composer.json to exist in the repository root
  (it runs 'composer config' unconditionally). Added a minimal composer.json
  declaring plugin metadata and PHP requirement.
@jdevalk jdevalk requested review from aristath and ilicfilip May 29, 2026 06:41
@ilicfilip

Copy link
Copy Markdown
Contributor

We should do here what ever is decided in ProgressPlanner/markdown-alternate#34 (comment)

Switch the Playground preview to `mode: comment` so the button is added
as its own PR comment (matching the team convention used in
progress-planner) instead of editing the PR description. Because the
workflow no longer edits the description, the `edited` trigger that
could re-fire the workflow is no longer needed, so remove it.

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

Copy link
Copy Markdown

WordPress Playground Preview

The changes in this pull request can previewed and tested using a WordPress Playground instance.

Open WordPress Playground Preview

@jdevalk

jdevalk commented Jun 19, 2026

Copy link
Copy Markdown
Member Author

Applied the same decision as markdown-alternate#34 here in b8316e5: switched the Playground workflow to mode: comment (button posts as a separate PR comment, consistent with progress-planner) and dropped the edited trigger since the workflow no longer edits the PR description. Now triggers on opened, synchronize, reopened only.

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.

2 participants