From 55eea1c482c1f0bde90983285421883c2eda774a Mon Sep 17 00:00:00 2001 From: Sam Ko Date: Tue, 18 Jun 2024 07:08:00 -0700 Subject: [PATCH] chore(github-workflow): fix issue_bankrupt workflow (#66992) ## Why? Add `with` so `getInput('created')` is not undefined. --- .github/workflows/issue_bankrupt.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/issue_bankrupt.yml b/.github/workflows/issue_bankrupt.yml index d769ed81a17a5..b705e46803694 100644 --- a/.github/workflows/issue_bankrupt.yml +++ b/.github/workflows/issue_bankrupt.yml @@ -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 }}