-
Notifications
You must be signed in to change notification settings - Fork 17
35 lines (32 loc) · 1.01 KB
/
comment-on-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
name: Add preview link to PR
on:
workflow_run:
workflows: ['Build']
types:
- completed
permissions:
pull-requests: write
jobs:
comment-preview:
runs-on: ubuntu-latest
if: >
${{ github.event.workflow_run.event == 'pull_request' &&
github.event.workflow_run.conclusion == 'success' }}
steps:
- name: 'Comment APSS link on workflow'
uses: trungleduc/appsharingspace-pr-comment/.github/actions/pr-comment@v2
with:
github_token: ${{ secrets.github_token }}
index_path: lab/index.html
comment-galata:
runs-on: ubuntu-latest
if: >
${{ github.event.workflow_run.event == 'pull_request'}}
steps:
- name: 'Comment galata link on workflow'
uses: trungleduc/appsharingspace-pr-comment/.github/actions/pr-comment@v2
with:
comment_prefix: '**Integration tests repot:**'
artifact_name: galata-apss
github_token: ${{ secrets.github_token }}
index_path: playwright-report/index.html