Skip to content

build(deps-dev): bump workbox-cacheable-response from 6.5.4 to 7.3.0 #263

build(deps-dev): bump workbox-cacheable-response from 6.5.4 to 7.3.0

build(deps-dev): bump workbox-cacheable-response from 6.5.4 to 7.3.0 #263

Workflow file for this run

name: Comment preview environment URL
on:
# pull_request_target を使うにあたって https://securitylab.github.com/research/github-actions-preventing-pwn-requests/ の一読を推奨
pull_request_target:
types:
- opened
permissions:
issues: write
pull-requests: write
jobs:
comment:
name: Comment preview environment URL
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v7
with:
script: |
const prod = `https://${context.payload.pull_request.number}-prod.traq-preview.trapti.tech/`
const dev = `https://${context.payload.pull_request.number}-dev.traq-preview.trapti.tech/`
const msg = `
Preview (prod) → ${prod}
Preview (dev) → ${dev}
`
await github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.payload.pull_request.number,
body: msg
});