build(github): Fix `#test-getsentry` logic (#20699)
build(github): Fix `#test-getsentry` logic (#20699)

Fixes the wrong logic but also this did not work because we need this on `pull_request` events which do not include a list of commits (it is only in the `push` event).

Co-authored-by: josh <c028c213ed5efcf30c3f4fc7361dbde0c893c5b7@jrl.ninja>
beeftornado/sentry,beeftornado/sentry,beeftornado/sentry