Skip to content

Commit 4432a32

Browse files
committed
Update WP version and make schema inspector non-blocking
Bump the WordPress version in the setup step from 6.8 to 6.9. Add comments and set 'continue-on-error: true' for the schema inspector step to ensure schema changes do not block CI, as they are expected between WordPress versions.
1 parent b99347a commit 4432a32

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/schema-linter.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Setup WordPress
4040
uses: ./.github/actions/setup-wordpress
4141
with:
42-
wp-version: '6.8'
42+
wp-version: '6.9'
4343

4444
- name: Setup GraphQL Schema Linter
4545
run: npm install -g graphql-schema-linter@^3.0 graphql@^16
@@ -79,7 +79,11 @@ jobs:
7979
name: schema.graphql
8080
path: /tmp/schema.graphql
8181

82+
# Schema changes between WordPress versions are expected and not regressions in this plugin.
83+
# The inspector runs to document changes for release notes, but doesn't block CI.
84+
# Update wp-version above when releasing a new version with updated "Tested up to:" header.
8285
- name: Run Schema Inspector
86+
continue-on-error: true
8387
run: |
8488
# This schema and previous release schema
8589
node_modules/.bin/graphql-inspector diff /tmp/${{ steps.get-latest-tag.outputs.tag }}.graphql /tmp/schema.graphql

0 commit comments

Comments
 (0)