Closed Robdel12 closed 4 years ago
Turns out the env var GitHub provides isn't good enough for all applications. So for PRs lets set the branch name from the webhook playload. See: https://github.com/percy/example-percy-jekyll/pull/12
Hahah commit suggestion does not work very well. Worth the try 😆
Last bit leftover from no longer breaking out those pr/branch vars ✂️
https://github.com/percy/snapshot-action/blob/74011861c4e0fb510b7594efd8cf4c1d81cf700a/src/index.js#L17
Turns out the env var GitHub provides isn't good enough for all applications. So for PRs lets set the branch name from the webhook playload. See: https://github.com/percy/example-percy-jekyll/pull/12