Skip to content

fix(deps): update dependency zod to v3.23.8 #29

fix(deps): update dependency zod to v3.23.8

fix(deps): update dependency zod to v3.23.8 #29

Workflow file for this run

name: Capture Vercel preview URL
on:
issue_comment:
types: [edited]
jobs:
capture_vercel_preview_url:
name: Capture Vercel preview URL
runs-on: "ubuntu-latest"
steps:
- uses: aaimio/vercel-preview-url-action@v2.2.0
id: vercel_preview_url
with:
GITHUB_TOKEN: ${{ secrets.ACTION_GITHUB_TOKEN }}
# Below is but an example of what you could do with the preview URL.
# The preview URL is accessed through ${{ steps.<step_id>.outputs.vercel_preview_url }}
- uses: actions/github-script@v7
with:
github-token: ${{secrets.ACTION_GITHUB_TOKEN}}
script: |
const previewURL = "${{ steps.vercel_preview_url.outputs.vercel_preview_url }}".match(/https:\/\/vercel\.live\/open-feedback\/(.+.vercel.app).*/)[1];
if (previewURL) {
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: `The preview URL is: https://${previewURL}/PikiLee.`
});
}