Concurrency
A concurrency group runs its members one at a time. concurrency: at the top makes each run of the pipeline a member; on a job, the job is one, across runs. Groups are shared by every project of the org, so two repositories can guard one deploy target.
group is the group's name; it can read event, vars and a job's matrix, not jobs. policy says what a new member does when the group is busy:
Without a top-level concurrency:, a pull request's runs share a group with cancel_other, so a new push supersedes the older runs; concurrency: {policy: allow} turns that off. Superseded members end cancelled. hod local run runs one run, so only jobs whose groups have the same name wait for each other.