Skip to content

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

Closed
lihsaa591 wants to merge 1 commit into
masterfrom
pilot/shared-lint-test
Closed

lihsaa591 wants to merge 1 commit 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.

🤖 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:23
@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

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

Active moderate findings remain: the lint workflow runs unnecessarily for unrelated pull requests, and 404.php emits a literal comment into the rendered response.

2 open issues
What changed in this PR

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

Changes:

  • Removes the standalone .github/workflows/phpcs.yml workflow.
  • Adds a shared lint workflow caller targeting the pilot branch.
  • Adds a pilot marker to 404.php.
File Summary Review notes
404.php Adds a marker intended to trigger PHP linting. Moderate: The marker is outside the PHP tag and will be rendered as visible text in the 404 response.
.github/​workflows/​phpcs.yml Removes the repository-specific PHPCS workflow. No comments.
.github/​workflows/​lint.yml Adds the caller for the shared reusable lint workflow. Moderate: Add a pull_request.paths filter for supported source extensions. Moderate: Preserve PHPCS’s exit status by enabling pipefail or capturing PIPESTATUS.

Review effort: Lite

Comment on lines +4 to +5
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
Comment thread 404.php

<?php get_footer(); ?> No newline at end of file
<?php get_footer(); ?>
// Pilot test: harmless change to trigger the lint workflow.
@lihsaa591

Copy link
Copy Markdown
Contributor Author

Superseded by #100 (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