Skip to content

Commit

Permalink
ci: get workflow inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
levisingularity committed Jul 18, 2024
1 parent 29306fc commit 4495a50
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/invoke-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ jobs:
with:
github-token: ${{ secrets.GH_TOKEN }}
script: |
const workflow_id = '${{ github.event.inputs.workflow }}';
const repo = '${{ github.event.inputs.repo }}';
const ref = '${{ github.event.inputs.ref }}';
const workflow_id = '${{ inputs.workflow }}';
const repo = '${{ inputs.repo }}';
const ref = '${{ inputs.ref }}';
const owner = context.repo.owner
github.rest.actions.createWorkflowDispatch({
Expand Down

0 comments on commit 4495a50

Please sign in to comment.