cost 104 ms
如何确定触发当前工作流的 Github Actions 事件是否是新的拉取请求? - How to find out if the Github Actions event that triggered the current workflow is a new pull request?

我有一个 Github Actions 工作流程,该工作流程触发: 运行我的自定义操作: 在操作org/repo中,我想在打开拉取请求时做一件额外的事情,但不是在同步时。 所以在org/repo/.github/workflows/main.yml我做: 区分新打开的拉取请求事件和“同步”事件(推 ...

无法访问共享工作流调用的“with”中的环境变量? - Cannot access env vars in `with` of shared-workflow invocation?

我需要维护一个将用于 PR 和 workflow_dispatch 的默认值。 以下是我尝试使用的模式,但在尝试访问 env.var 时出现错误。 我在这里怎么错了,我还能如何获得相同的结果? 错误: The workflow is not valid. .github/workflows/cal ...

Github 操作突然为昨天工作的可重用工作流抛出“未指定版本” - Github actions suddenly throwing "no version specified" for reusable workflows that worked yesterday

我不确定这是一个错误还是昨天发生的重大变化,我有一个非常简单的设置,调用三个可重用的工作流程: name: pr-checks on: pull_request: branches: "**" jobs: lint: name: Call Lint uses: . ...


排序:
质量:
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM