Skip to content

fix: catch null value in onSelect #470

fix: catch null value in onSelect

fix: catch null value in onSelect #470

name: Comment PR lead time on merge
on:
workflow_dispatch:
pull_request:
branches:
- main
types:
- closed
jobs:
comment-lead-time:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/github-script@v6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const { default: script } = await import('${{ github.workspace }}/.github/lib/lead-time.mjs');
await script(github, context);