We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 538ce3c commit d475447Copy full SHA for d475447
.github/workflows/update-screenshot.yml
@@ -1,11 +1,10 @@
1
name: Update screenshot on comment
2
on:
3
pull_request:
4
-
+
5
jobs:
6
update-screenshots:
7
name: Update Screenshot
8
- if: github.event.issue.pull_request && contains(github.event.comment.body, '/approve-snapshots')
9
runs-on: ubuntu-latest
10
permissions:
11
contents: write
@@ -19,7 +18,6 @@ jobs:
19
18
ref: ${{ steps.comment-branch.outputs.head_ref }}
20
- name: Comment on PR with Playwright updates
21
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
22
- if: ${{ failure() && env.SNAPSHOT_DIFFERENCES == 'true' }}
23
with:
24
script: |
25
const body = `### Updating snapshots. Click [here](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}) to see the status.`;
0 commit comments