1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-04-04 15:16:24 +02:00

feat: comment URL on previewed PRs ()

This commit is contained in:
bo0tzz 2025-02-13 22:10:00 +01:00 committed by GitHub
parent bf16b61d43
commit f5edc87e4d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

17
.github/workflows/preview-comment.yaml vendored Normal file
View file

@ -0,0 +1,17 @@
name: Preview comment
on:
pull_request:
types: [labeled]
jobs:
comment-status:
runs-on: ubuntu-latest
if: ${{ github.event.label.name == 'preview' }}
permissions:
pull-requests: write
steps:
- uses: mshick/add-pr-comment@v2
with:
message-id: "preview-status"
message: "Deploying preview environment to https://pr-${{ github.event.pull_request.number }}.preview.internal.immich.cloud/"