mirror of
https://github.com/immich-app/immich.git
synced 2025-04-04 15:16:24 +02:00
feat: comment URL on previewed PRs (#16085)
This commit is contained in:
parent
bf16b61d43
commit
f5edc87e4d
1 changed files with 17 additions and 0 deletions
17
.github/workflows/preview-comment.yaml
vendored
Normal file
17
.github/workflows/preview-comment.yaml
vendored
Normal 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/"
|
Loading…
Add table
Reference in a new issue