Skip to content

Comment on PR

Comment on PR #16775

name: 'Comment on PR'
on:
workflow_run:
workflows: ["Pull Request Update"]
types: [ completed ]
jobs:
comment:
name: 'Post Comment on PR'
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.event == 'pull_request_target' && github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Add AppImage Links
if: ${{ env.APPIMAGE }}
uses: marocchino/sticky-pull-request-comment@v2
with:
header: AppImage
number: ${{ env.PR_NUMBER }}
recreate: true
message: |
AppImages ready!
<https://storage.googleapis.com/packages.viam.com/apps/viam-server/viam-server-pr-${{ env.PR_NUMBER }}-x86_64.AppImage>
<https://storage.googleapis.com/packages.viam.com/apps/viam-server/viam-server-pr-${{ env.PR_NUMBER }}-aarch64.AppImage>
- name: Add Static Build Links
if: ${{ env.STATIC }}
uses: marocchino/sticky-pull-request-comment@v2
with:
header: Static Binaries
number: ${{ env.PR_NUMBER }}
recreate: true
message: |
Static binaries ready!
<https://storage.googleapis.com/packages.viam.com/apps/viam-server/viam-server-pr-${{ env.PR_NUMBER }}-x86_64>
<https://storage.googleapis.com/packages.viam.com/apps/viam-server/viam-server-pr-${{ env.PR_NUMBER }}-aarch64>