chore(github-workflow): fix issue_bankrupt workflow (#66992)

## Why?

Add `with` so `getInput('created')` is not undefined.
This commit is contained in:
Sam Ko 2024-06-18 07:08:00 -07:00 committed by GitHub
parent 303e1966de
commit 55eea1c482
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,7 +4,7 @@ on:
workflow_dispatch:
inputs:
created:
description: 'github created range'
description: 'created date range'
required: true
type: string
@ -18,6 +18,8 @@ jobs:
- run: corepack enable
- name: 'Bankrupt issues & send notification to Slack'
run: node ./.github/actions/next-repo-actions/dist/bankrupt/index.js
with:
created: ${{ github.event.inputs.created }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}