Skip to content

Figure out GHA concurrency for gh-pages job #66

@allister-beamable

Description

@allister-beamable

When you push to multiple branches in rapid succession (as happens when I am doing docs copyediting on unity/v5.0, unity/v5.1, core/v7.0, and core/v7.1 in a single session), the Auto Publish Branch action tries to run for all branches at once, leading to a timing conflict on the gh-pages repository.

I tried adding a concurrency group to the workflow, but that just means that instead of "one wins, three fail", it does "one wins, a second gets queued, and two get canceled".

There must be a better way, but it was not immediately obvious.

This is very low priority; for my workflow, I can avoid it by just waiting a minute or two between different branches' pushes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or request
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions