Skip to content

Add preview link to PR #54

Add preview link to PR

Add preview link to PR #54

Workflow file for this run

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