-
Notifications
You must be signed in to change notification settings - Fork 111
36 lines (33 loc) · 1.37 KB
/
code-coverage-comment.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
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>