diff --git a/.github/actions/get-workflow-commit/action.yml b/.github/actions/get-workflow-commit/action.yml index bcbb33e742b..3e0b83ed422 100644 --- a/.github/actions/get-workflow-commit/action.yml +++ b/.github/actions/get-workflow-commit/action.yml @@ -20,7 +20,7 @@ runs: with: github-token: ${{ inputs.github-token }} script: | - const workflow_id = "${{ inputs.upgrade-to-workflow-name }}"; + const workflow_id = "${{ inputs.workflow-name }}"; const owner = context.repo.owner; const repo = context.repo.repo; const runs = await github.rest.actions.listWorkflowRuns({