Skip to content

feat: require all PRs to update JSON schema if changed - #3803

Merged
9 commits merged into
masterfrom
ens/fail-if-schema-docs-need-update
Jun 25, 2024
Merged

feat: require all PRs to update JSON schema if changed#3803
9 commits merged into
masterfrom
ens/fail-if-schema-docs-need-update

Conversation

@ghost

@ghost ghost commented Jun 25, 2024

Copy link
Copy Markdown

Description

The update-docs workflow doesn't work (skips itself) for external PRs.

Make it fail any PR if any of the schema command outputs changed and the changes are not included in the PR, rather than pushing a commit to update them.

This way it will work on external PRs too, and we can make it a required status.

How Has This Been Tested?

The following PR makes a schema change: #3805

Checklist:

  • The title of this PR complies with Conventional Commits.
  • I have edited the CHANGELOG accordingly.
  • I have made corresponding changes to the documentation.

@ghost ghost changed the title feat: require all PRs to update schema if changed feat: require all PRs to update JSON schema if changed Jun 25, 2024
Eric Swanson added 3 commits June 25, 2024 13:36
@ghost
ghost marked this pull request as ready for review June 25, 2024 21:18
@ghost
ghost self-requested a review as a code owner June 25, 2024 21:18
@ghost
ghost merged commit 9123924 into master Jun 25, 2024
@ghost
ghost deleted the ens/fail-if-schema-docs-need-update branch June 25, 2024 21:22
This pull request was closed.
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.

0 participants