Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump theme check action and fix theme check error #3704

Merged
merged 4 commits into from
Jan 14, 2025

Conversation

graygilmore
Copy link
Contributor

@graygilmore graygilmore commented Jan 14, 2025

PR Summary:

theme-check-action@v1 uses the Ruby implementation of theme check which has previously been deprecated and now is fully removed from the Shopify CLI. This bumps the action to use v2.

This means that the action is now using the same version of the theme checker that we'd be using when running shopify theme check locally which means that we also needed to fix an error in sections/header.liquid.

One additional commit here adds .shopify to the .gitignore file now that shopify theme dev downloads metafield definitions by default (See Shopify/cli#5184 for more information).

Checklist

@graygilmore graygilmore marked this pull request as ready for review January 14, 2025 18:29
@graygilmore graygilmore requested a review from a team January 14, 2025 18:36
Copy link

@aswamy aswamy left a comment

Choose a reason for hiding this comment

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

Neat! Surprised we weren't already using theme-check-action@v2 honestly 😮

@@ -7,3 +7,4 @@
.Trashes
ehthumbs.db
Thumbs.db
.shopify
Copy link

Choose a reason for hiding this comment

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

❤️

Copy link

@mxstbr mxstbr left a comment

Choose a reason for hiding this comment

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

Assuming we can resolve the dubious ownership this LGTM, thanks for making this update!

@graygilmore graygilmore force-pushed the gg-fix-theme-check-action branch 2 times, most recently from a0d4da6 to ebb5ca6 Compare January 14, 2025 22:34
@graygilmore graygilmore merged commit 2358467 into main Jan 14, 2025
12 of 14 checks passed
@graygilmore graygilmore deleted the gg-fix-theme-check-action branch January 14, 2025 22:54
@skmohotasin
Copy link

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants