Skip to content

Commit a2110ef

Browse files
committed
feat: A
1 parent 0271f6c commit a2110ef

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/update-screenshot.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
name: Update screenshot on comment
22
on:
33
pull_request:
4-
4+
55
jobs:
66
update-screenshots:
77
name: Update Screenshot
8-
if: github.event.issue.pull_request && contains(github.event.comment.body, '/approve-snapshots')
98
runs-on: ubuntu-latest
109
permissions:
1110
contents: write
@@ -19,7 +18,6 @@ jobs:
1918
ref: ${{ steps.comment-branch.outputs.head_ref }}
2019
- name: Comment on PR with Playwright updates
2120
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
22-
if: ${{ failure() && env.SNAPSHOT_DIFFERENCES == 'true' }}
2321
with:
2422
script: |
2523
const body = `### Updating snapshots. Click [here](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}) to see the status.`;

0 commit comments

Comments
 (0)