wp-graphql-content-blocks icon indicating copy to clipboard operation
wp-graphql-content-blocks copied to clipboard

Upload Schema Artifact workflow fails to upload schema

Open mindctrl opened this issue 1 year ago • 1 comments

In #192 we attempted to fix the Schema Upload Artifact workflow by reverting changes made previously which had resulted in the workflow not running. The attempted fix did not work. Source: https://github.com/wpengine/wp-graphql-content-blocks/actions/workflows/upload-schema-artifact.yml

The error is GitHub Releases requires a tag. It seems the context in which this runs does not have access to the tag data. cc @blakewilson for any additional context you may be able to add.

Every time we do a tagged release this workflow should run but it broke about 4 months ago and the schema linter job fails on every PR as a result. We've tried a change on this but it didn't fix it so we need to start over.

Acceptance Criteria

  • [ ] Ensure the schema linter can successfully fun on every PR and branch

Notes

  • https://github.com/wpengine/wp-graphql-content-blocks/actions/workflows/upload-schema-artifact.yml
  • This will be difficult to test as it can only be tested on a release.
  • Whomever works this should consider spinning up a separate repo for testing to avoid polluting this repo

mindctrl avatar Feb 28 '24 19:02 mindctrl

As the issue itself does require a full release for confirmation, I'm re-opening this ticket until such confirmation can occur.

ChrisWiegman avatar Apr 04 '24 14:04 ChrisWiegman

The schema.graphql artifact can be seen in the latest release. Closing this as completed.

Image

josephfusco avatar Aug 27 '24 16:08 josephfusco