【发布时间】:2022-12-03 05:37:51
【问题描述】:
所以现在我有:
gh api --method POST -H "Accept: application/vnd.github+json" /repos/${{ github.repository }}/actions/workflows/30721645/dispatches -F run_id=${{ github.run_id }}
我的 workflow_dispatch 事件将 run_id 作为输入,但问题是我得到了这个请求的 invalid_key,我如何正确地将 run_id 传递给 gh api?
【问题讨论】:
-
您可以使用一个动作为您执行此操作,请从市场上查看this one。
标签: github-actions