Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.
TypeScript analyticsanalytics-dashboardclickhouseelixirgoogle-analyticsmarketingopen-source-analyticsphoenixplausible-analyticspostgresqlprivacyprivacy-friendlyself-hostedsimple-analyticsstatisticstailwindcssweb-analyticswebsite-analyticswebsite-statswebsite-tracking
Add preview env URL to PRs (#4273)
Cenk Kücük6f2e1242afef
diff --git a/.github/workflows/comment-preview-url.yml b/.github/workflows/comment-preview-url.ymlnew file mode 100644index 0000000000..ca49eb1e5b--- /dev/null+++ b/.github/workflows/comment-preview-url.yml@@ -0,0 +1,28 @@+name: Add preview environment URL to PR++on:+ pull_request:+ types: [labeled]++permissions:+ pull-requests: write++env:+ PR_NUMBER: ${{ github.event.number }}++jobs:+ comment:+ if: ${{ contains(github.event.pull_request.labels.*.name, 'preview') }}+ runs-on: ubuntu-latest+ steps:+ - name: Comment with preview URL+ uses: thollander/[email protected]+ with:+ message: |+ <div align="center">++ |Preview environment👷🏼♀️🏗️ |+ |:-:|+ | [PR-${{env.PR_NUMBER}}](https://pr-${{env.PR_NUMBER}}.review.plausible.io)++ </div>