Skip to content

ci: don't let textlint or prettier block preview builds - #766

Merged
rfay merged 1 commit into
ddev:mainfrom
rfay:20261026_rfay_ci_lint_not_blocking_build
Oct 26, 2026
Merged

rfay merged 1 commit into
ddev:mainfrom
rfay:20261026_rfay_ci_lint_not_blocking_build

Conversation

@rfay

@rfay rfay commented Oct 26, 2026

Copy link
Copy Markdown
Member

The Issue

On PR #765, no-todo errors from textlint stopped both the fork preview build and the build job in test.yml, so no preview was produced for a draft that only had wording problems.

How This PR Solves The Issue

  • cloudflare-preview-forks-build.yml no longer runs textlint or prettier. test.yml already runs them on fork PRs.
  • test.yml moves textlint and prettier into their own lint job, so they still fail the PR but no longer stop build. Prettier runs even when textlint fails, so both results show up at once.

Manual Testing Instructions

Open a PR with a TODO: in a blog post, both from a branch on ddev/ddev.com and from a fork. The lint check should fail, while build and Build site (no secrets) succeed and the preview deploys.

🤖 Generated with Claude Code

## The Issue

On PR ddev#765, `no-todo` errors from textlint stopped both the fork preview build and the `build` job in `test.yml`, so no preview was produced for a draft that only had wording problems.

## How This PR Solves The Issue

- `cloudflare-preview-forks-build.yml` no longer runs textlint or prettier. `test.yml` already runs them on fork PRs.
- `test.yml` moves textlint and prettier into their own `lint` job, so they still fail the PR but no longer stop `build`. Prettier runs even when textlint fails, so both results show up at once.

## Manual Testing Instructions

Open a PR with a `TODO:` in a blog post, both from a branch on ddev/ddev.com and from a fork. The `lint` check should fail, while `build` and `Build site (no secrets)` succeed and the preview deploys.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

🌐 Fork Preview for PR #766

https://pr-766.ddev-com-fork-previews.pages.dev

This preview updates automatically when you push changes to your fork.

@stasadev stasadev left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good to me.

@rfay
rfay merged commit 368ad87 into ddev:main Oct 26, 2026
3 checks passed
@rfay
rfay deleted the 20261026_rfay_ci_lint_not_blocking_build branch October 26, 2026 12:27
@github-actions

Copy link
Copy Markdown

PR closed. The Cloudflare Pages preview is no longer updated.

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