Browse Source

run getsentry tests on sentry backend PRs (#43184)

do we want to do this?

this is a bit of a step backwards in treating sentry / getsentry as
separate entities in that we're running all of the tests more often --
but it should prevent more breakages in `getsentry` in theory
anthony sottile 2 years ago
parent
commit
d9a57afbf1

+ 1 - 1
.github/workflows/scripts/getsentry-dispatch.js

@@ -15,7 +15,7 @@ const DISPATCHES = [
   },
   {
     workflow: 'backend.yml',
-    pathFilterName: 'backend_dependencies',
+    pathFilterName: 'backend_src',
   },
 ];
 

+ 1 - 1
src/sentry_plugins/twilio/plugin.py

@@ -49,7 +49,7 @@ def clean_phone(phone):
 #      and cleaned numbers are deduped already.
 def split_sms_to(data):
     # we use regex below to split the string since we allow any whitespace, comma, or combination of the two
-    # as a delimeter
+    # as a delimiter
     phone_numbers = set(re.split(r"[,\s]+", data))
     stripped_phone_numbers = {num.strip() for num in phone_numbers}
     return stripped_phone_numbers