Skip to content

Commit 62e4bd7

Browse files
Skip duplicate Lost Pixel branch runs
Run visual regression only for pull requests and master pushes so Lost Pixel does not receive separate push and pull_request uploads for the same commit.
1 parent 17d2d99 commit 62e4bd7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/vrt.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
run: npm test
2828

2929
visual-regression:
30+
if: github.event_name == 'pull_request' || github.ref == 'refs/heads/master'
3031
runs-on: ubuntu-latest
3132
name: Lost Pixel
3233

0 commit comments

Comments
 (0)