|
16 | 16 | github.event.workflow_run.conclusion == 'success' |
17 | 17 | steps: |
18 | 18 | - name: Harden Runner |
19 | | - uses: step-security/harden-runner@8d3c67de8e2fe68ef647c8db1e6a09f647780f40 # v2.19.0 |
| 19 | + uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0 |
20 | 20 | with: |
21 | 21 | egress-policy: audit |
22 | 22 |
|
@@ -104,31 +104,31 @@ jobs: |
104 | 104 | gh api graphql --field "filter=$SEARCH_QUERY" --raw-field "query=$GQL" --jq "$JQ_FILTER" >> "${GITHUB_OUTPUT}" |
105 | 105 |
|
106 | 106 | - name: "[Comment] Couldn't download screenshots from master branch" |
107 | | - uses: mshick/add-pr-comment@8e4927817251f1ff60c001f04568532b38e0b4a0 # v3.11.0 |
| 107 | + uses: mshick/add-pr-comment@ec328af66588ab8f77cdeb2c264f14aba45bbf59 # v3.12.0 |
108 | 108 | if: steps.playwright.outputs.MASTER_SCREENSHOTS_OUTCOME == 'failure' |
109 | 109 | with: |
110 | 110 | issue: ${{ steps.source-run-info.outputs.pullRequestNumber }} |
111 | 111 | message: | |
112 | 112 | :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. |
113 | 113 |
|
114 | 114 | - name: "[Comment] Warning: Visual differences caused by this PR; please check the playwright report" |
115 | | - uses: mshick/add-pr-comment@8e4927817251f1ff60c001f04568532b38e0b4a0 # v3.11.0 |
| 115 | + uses: mshick/add-pr-comment@ec328af66588ab8f77cdeb2c264f14aba45bbf59 # v3.12.0 |
116 | 116 | if: steps.playwright.outputs.MASTER_SCREENSHOTS_OUTCOME != 'failure' && steps.playwright.outputs.FAILED != 0 |
117 | 117 | with: |
118 | 118 | issue: ${{ steps.source-run-info.outputs.pullRequestNumber }} |
119 | 119 | message: | |
120 | 120 | :warning: <a href="${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.event.workflow_run.id }}/artifacts/${{ steps.playwright-report-artifact-id.outputs.id }}">Visual changes detected by playwright; please check the report to verify if they are desirable.</a> |
121 | 121 |
|
122 | 122 | - name: "[Comment] Success (but flaky): No visual differences introduced by this PR (but flaky tests detected)" |
123 | | - uses: mshick/add-pr-comment@8e4927817251f1ff60c001f04568532b38e0b4a0 # v3.11.0 |
| 123 | + uses: mshick/add-pr-comment@ec328af66588ab8f77cdeb2c264f14aba45bbf59 # v3.12.0 |
124 | 124 | if: steps.playwright.outputs.MASTER_SCREENSHOTS_OUTCOME != 'failure' && steps.playwright.outputs.FLAKY != 0 && steps.playwright.outputs.FAILED == 0 |
125 | 125 | with: |
126 | 126 | issue: ${{ steps.source-run-info.outputs.pullRequestNumber }} |
127 | 127 | message: | |
128 | 128 | :heavy_check_mark: <a href="${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.event.workflow_run.id }}/artifacts/${{ steps.playwright-report-artifact-id.outputs.id }}">No visual changes detected by playwright, but flaky tests were detected; please try to fix the tests.</a> |
129 | 129 |
|
130 | 130 | - name: "[Comment] Success: No visual differences introduced by this PR" |
131 | | - uses: mshick/add-pr-comment@8e4927817251f1ff60c001f04568532b38e0b4a0 # v3.11.0 |
| 131 | + uses: mshick/add-pr-comment@ec328af66588ab8f77cdeb2c264f14aba45bbf59 # v3.12.0 |
132 | 132 | if: steps.playwright.outputs.MASTER_SCREENSHOTS_OUTCOME != 'failure' && steps.playwright.outputs.FLAKY == 0 && steps.playwright.outputs.FAILED == 0 |
133 | 133 | with: |
134 | 134 | issue: ${{ steps.source-run-info.outputs.pullRequestNumber }} |
|
0 commit comments