percy / storybook-action

[Deprecated] A GitHub action to run Percy with Storybook
https://docs.percy.io/docs/github-actions#section-storybook-action
MIT License
11 stars 5 forks source link

fix: Don't error when setting branch name from `pull_request_review` action trigger #14

Closed Robdel12 closed 4 years ago

Robdel12 commented 4 years ago

What is this?

This is related to #12 & #13. The error that occurs when running workflows triggered off of pull_request_review is due to the branch name ref being in a different part of the payload vs other workflow triggers. This PR does not solve that issue. This PR simply ensures that error does not fail the build.

There will need to be follow up work to search the webhook payload(s) to find the info we need (since it's different across the various triggers).