Skip to content

chore(deps): bump @docsearch/react from 3.5.0 to 3.5.1 #606

chore(deps): bump @docsearch/react from 3.5.0 to 3.5.1

chore(deps): bump @docsearch/react from 3.5.0 to 3.5.1 #606

Workflow file for this run

name: Demo link
on:
pull_request_target:
types: [opened]
jobs:
add_demo_link:
name: Add demo link to PR description
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
permissions:
pull-requests: write
steps:
- name: Update PR description
uses: actions/github-script@v6
with:
script: |
const pullRequestId = context.payload.pull_request.number
const pullRequestBranch = context.payload.pull_request.head.ref
github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: pullRequestId,
body: `👀 [Visit Preview](https://${pullRequestBranch}--welcome-ui.netlify.app)`
});