Category: Automation

GitHub Actions: Concurrency Settings Cancel the Wrong Build

Read this guide in Polish

After the push series one launch is canned and there is no publication.

How to identify the source of the problem

Check concurrency.group, cancel-in-progress and whether several environments use the same group.

Check the workflow event type, permissions joba, run ID and first failed step.

Repair steps

Separate groups by branch or environment; leave the queue without cancellation for indivisible publication.

How to Test Solution

The expected version of the production is implemented once and the discontinued test does not remove the new deploy files.

Security and restrictions

Apply minimum token privileges and re-impotence. Do not remove main branch protection only for the convenience of the machine.