Skip to content

ci: add path filtering to lint-stylelint workflow#59322

Open
joshtrichards wants to merge 1 commit intomasterfrom
jtr/ci-perf-path-filtering-stylelint
Open

ci: add path filtering to lint-stylelint workflow#59322
joshtrichards wants to merge 1 commit intomasterfrom
jtr/ci-perf-path-filtering-stylelint

Conversation

@joshtrichards
Copy link
Copy Markdown
Member

  • Resolves: #

Summary

The stylelint workflow currently runs unconditionally on every pull request, including PHP-only, docs-only, and other PRs that don't touch any CSS/SCSS/Vue files. This adds a changes job using dorny/paths-filter and gates the lint job behind it, matching the pattern already used by lint-eslint, lint-php, and others. A summary job is included for branch protection compatibility.

TODO

  • ...

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Signed-off-by: Josh <josh.t.richards@gmail.com>
@joshtrichards joshtrichards added this to the Nextcloud 34 milestone Mar 30, 2026
@joshtrichards joshtrichards requested a review from a team as a code owner March 30, 2026 22:49
@joshtrichards joshtrichards requested review from Altahrim, CarlSchwan, leftybournes and salmart-dev and removed request for a team March 30, 2026 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant