admin管理员组

文章数量:1352872

I'm trying to coordinate two GitHub Actions workflows in the same repository.

Each workflow is triggered by different file path changes via on: push with paths: filters.

Sometimes, a commit changes files that cause both workflows to be triggered independently by the same push. In that case, I want one of the workflows to wait for the other to finish before it starts.

What I need:

  1. If only one of the workflows is triggered → it should run as normal.
  2. If both workflows are triggered by the same commit → one should run after the other finishes.

本文标签: