Average Scroll Depth Metric: put scroll depth on the dashboard under a feature flag #232
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |