Question Details

No question body available.

Tags

github github-actions workflow

Answers (1)

Accepted Answer Available
Accepted Answer
July 5, 2025 Score: 1 Rep: 386 Quality: High Completeness: 100%

Firstly I created a test in my GitHub profile, as repoA, repoB and ci-orchestrator. You may check them out if you want example on how to create the .yml files for dispatch.yaml and handle-dispatch.yml

GitHub Actions' concurrency only works within a single repository. If multiple repositories use the same reusable workflow, adding:

concurrency:
  group: global-group
  cancel-in-progress: false

…won’t prevent parallel executions across repos, because GitHub scopes concurrency groups per repo.

What you can do is, create a Orchestrator Repository + repository_dispatch

  • In each repo (e.g., repo-a, repo-b, repo-c), define a minimal dispatcher

  • In orchestrator Repository create reusable-workflow.yml and handle-dispatch.yml

    in that way

    1. All jobs from any repo go through the orchestrator

    2. Only one job runs at a time, others are queued, not canceled