summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorDarius Jahandarie <djahandarie@gmail.com>2023-03-30 15:56:18 +0900
committerDarius Jahandarie <djahandarie@gmail.com>2023-03-30 15:56:18 +0900
commit5903a1079166ef4645412846b6c52a16f9173e83 (patch)
treed53e7d2ce830c0e97d870a4d69e6a7bafd5ef8d1 /.github
parente4933770d0e2b021258885d04445d21527330f5d (diff)
Continue fixing playwright_comment
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/playwright_comment.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/playwright_comment.yml b/.github/workflows/playwright_comment.yml
index 7e88b80e..ccb0f4cf 100644
--- a/.github/workflows/playwright_comment.yml
+++ b/.github/workflows/playwright_comment.yml
@@ -47,6 +47,7 @@ jobs:
uses: mshick/add-pr-comment@a65df5f64fc741e91c59b8359a4bc56e57aaf5b1 # pin@v2
if: steps.playwright.outputs.MASTER_SCREENSHOTS_OUTCOME == 'failure'
with:
+ issue: ${{ github.event.workflow_run.pull_requests[0].number }}
message: |
:heavy_exclamation_mark: Could not fetch screenshots from master branch, so had nothing to make a visual comparison against; please check the "master-screenshots" step in the workflow run and rerun it before merging.
@@ -54,6 +55,7 @@ jobs:
uses: mshick/add-pr-comment@a65df5f64fc741e91c59b8359a4bc56e57aaf5b1 # pin@v2
if: steps.playwright.outputs.MASTER_SCREENSHOTS_OUTCOME != 'failure' && steps.playwright.outputs.NUM_FAILED == 0
with:
+ issue: ${{ github.event.workflow_run.pull_requests[0].number }}
message: |
:heavy_check_mark: No visual differences introduced by this PR.
[View Playwright Report](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.event.workflow_run.id }}#artifacts) (note: open the "playwright-report" artifact)
@@ -62,6 +64,7 @@ jobs:
uses: mshick/add-pr-comment@a65df5f64fc741e91c59b8359a4bc56e57aaf5b1 # pin@v2
if: steps.playwright.outputs.MASTER_SCREENSHOTS_OUTCOME != 'failure' && steps.playwright.outputs.NUM_FAILED != 0
with:
+ issue: ${{ github.event.workflow_run.pull_requests[0].number }}
message: |
:warning: ${{ steps.playwright.outputs.NUM_FAILED }} visual differences introduced by this PR; please validate if they are desirable.
<details>