Skip to content

filter out invalid changeset, before running the action#2249

Merged
zachdaniel merged 3 commits intomainfrom
fix/bulk-validations
Aug 3, 2025
Merged

filter out invalid changeset, before running the action#2249
zachdaniel merged 3 commits intomainfrom
fix/bulk-validations

Conversation

@barnabasJ
Copy link
Copy Markdown
Contributor

Contributor checklist

Leave anything that you believe does not apply unchecked.

  • I accept the AI Policy, or AI was not used in the creation of this PR.
  • Bug fixes include regression tests
  • Chores
  • Documentation changes
  • Features include unit/acceptance tests
  • Refactoring
  • Update dependencies

@barnabasJ barnabasJ self-assigned this Aug 3, 2025
@barnabasJ barnabasJ added the bug Something isn't working label Aug 3, 2025
@barnabasJ
Copy link
Copy Markdown
Contributor Author

@zachdaniel I'm not sure the tests that fail should work. If the changeset is invalid due to incorrect attributes, should the hooks be executed? Because it's not the action failing, but it's failing beforehand.

@zachdaniel
Copy link
Copy Markdown
Contributor

Hooks should not run on invalid changesets except for after transaction hooks.

the other hooks are run as part of the action itself
and have their own validity checks
@zachdaniel zachdaniel merged commit a3cab9e into main Aug 3, 2025
43 checks passed
@zachdaniel
Copy link
Copy Markdown
Contributor

🚀 Thank you for your contribution! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants