When a PR is opened, the upstream CI is started. If somebody adds new commits to that PR before the CI is finished, the new jobs will be queued and the previous ones will continue running.
We can use the concurrency GitHub Actions feature to solve this issue.