-
Notifications
You must be signed in to change notification settings - Fork 83
43 lines (32 loc) · 1.64 KB
/
pr.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Pull request
on: pull_request
jobs:
# Comment
comment-gui-screenshots:
name: '🖍 Comment GUI screenshots'
if: github.event.pull_request.head.repo.full_name == 'Renumics/spotlight'
permissions:
pull-requests: write
runs-on: ubuntu-latest
env:
AZURE_FOLDER_URL: https://spotlightpublic.blob.core.windows.net/github-public/${{ github.repository }}/${{ github.event.pull_request.head.sha }}/screenshots
steps:
- name: '🖍 Comment GUI screenshots'
uses: thollander/actions-comment-pull-request@v2
with:
comment_tag: gui-screenshots
pr_number: ${{ github.event.pull_request.number }}
message: |
### GUI in Chrome
![⏳ CI is still running or has failed](${{ env.AZURE_FOLDER_URL }}/gui-chrome.png "GUI in Chrome")
<details>
<summary>Diff to the last main</summary>
![⏳ CI is still running or has failed](${{ env.AZURE_FOLDER_URL }}/gui-chrome-diff.png "GUI diff in Chrome")
</details>
### GUI in Firefox
![⏳ CI is still running or has failed](${{ env.AZURE_FOLDER_URL }}/gui-firefox.png "GUI in Firefox")
<details>
<summary>Diff to the last main</summary>
![⏳ CI is still running or has failed](${{ env.AZURE_FOLDER_URL }}/gui-firefox-diff.png "GUI diff in Firefox")
</details>
reactions: eyes