Commit f2bcdd5a authored by Matthew Slipper's avatar Matthew Slipper Committed by GitHub

ci: Add a job to nag when changesets are missing (#2450)

Mergify will now add a comment asking if you forgot a changeset if you change TS, Go, or JS code without adding one.
Co-authored-by: default avatarmergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
parent ae112021
...@@ -97,3 +97,12 @@ pull_request_rules: ...@@ -97,3 +97,12 @@ pull_request_rules:
label: label:
remove: remove:
- on-merge-train - on-merge-train
- name: Nag changesets
conditions:
- and:
- 'files~=\.(ts|go|js|mod|sum)$'
- '-files~=^\.changeset/(.*)\.md'
actions:
comment:
message: |
This PR changes implementation code, but doesn't include a changeset. Did you forget to add one?
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment