Skip to content

[PILOT - do not merge] Test shared lint workflow - #126

Closed
lihsaa591 wants to merge 6 commits into
masterfrom
pilot/shared-lint-test
Closed

lihsaa591 wants to merge 6 commits into
masterfrom
pilot/shared-lint-test

Conversation

@lihsaa591

Copy link
Copy Markdown
Contributor

Test PR for the shared lint workflow (themegrill/workflows#2). Replaces phpcs.yml with a caller of the shared lint.yml and makes a harmless one-line change to 404.php so there is a PHP file to lint.

To be closed after the test. The real rollout PR comes later.

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@tg-autopilot
tg-autopilot requested a lite review from Copilot November 4, 2026 04:21
@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown

QA suite — refused, no regression spec

This PR changes product source but adds no spec, so the suite was
refused before booting WordPress — running it just to report the same
thing at the end costs runner minutes for nothing. Run
/claudegrill:verify-fix locally and let write-spec add the guard
to this branch, then push again.

Source files changed with no matching spec
404.php

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

An active workflow finding remains because the lint job runs on unrelated pull requests without the shared workflow’s path filter, wasting runners and creating needless checks.

1 open issue
What changed in this PR

This pilot replaces the repository-specific PHPCS workflow with ThemeGrill’s shared lint workflow and adds a harmless PHP change to exercise linting.

Changes:

  • Adds .github/workflows/lint.yml as a caller for the shared lint workflow.
  • Removes the standalone .github/workflows/phpcs.yml workflow.
  • Adds a harmless comment to 404.php to provide a changed PHP file for lint validation.

Review note: The shared workflow caller does not restrict its trigger to lintable PHP/JS/TS paths, so it may run unnecessarily for unrelated changes.

File Description
404.php Adds a harmless PHP comment to trigger linting.
.github/​workflows/​phpcs.yml Removes the repository-specific PHPCS workflow.
.github/​workflows/​lint.yml Adds the shared lint workflow caller.

Review effort: Lite

Comment on lines +4 to +5
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
@lihsaa591

Copy link
Copy Markdown
Contributor Author

Superseded by #127 (pilot finished).

@lihsaa591 lihsaa591 closed this Nov 4, 2026
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