This PR is an amendment for #1403.
It avoids skipping builds when some pushes were done consequentially.
From GitHub Actions docs:
When a concurrent … workflow is queued, if another … workflow using the same concurrency group in the repository is in progress, the queued … workflow will be pending. Any previously pending … workflow in the concurrency group will be canceled.
No behavior change for pull requests.